Files
strongswan-ext/testing/tests/swanctl/protoport-range/pretest.dat
T
Tobias Brunner aacf84d837 testing: Add expect-connection calls for all tests and hosts
There are some exceptions (e.g. those that use auto=start or p2pnat).
2016-06-16 14:35:18 +02:00

14 lines
538 B
Plaintext

moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
moon::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
moon::expect-connection icmp-req
moon::expect-connection icmp-rep
moon::expect-connection ftp-ssh
carol::expect-connection icmp-req
carol::expect-connection icmp-rep
carol::expect-connection ftp-ssh
carol::swanctl --initiate --child icmp-req 2> /dev/null
carol::swanctl --initiate --child icmp-rep 2> /dev/null
carol::swanctl --initiate --child ftp-ssh 2> /dev/null