aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/libipsec/host2host-cert/pretest.dat
blob: 00e5c199fd1be61fe6f1099498fadcafdbf569f1 (plain)
1
2
3
4
5
6
7
8
9
moon::sysctl -w net.ipv4.conf.all.rp_filter=2
sun::sysctl -w net.ipv4.conf.all.rp_filter=2
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
moon::systemctl start strongswan-swanctl
sun::systemctl start strongswan-swanctl
sun::expect-connection host-host
moon::expect-connection host-host
moon::swanctl --initiate --child host-host 2> /dev/null