blob: 7e6ad46dfc75c3a7936361111cf07cfefc3ad674 (
plain)
1
2
3
4
5
6
7
8
9
10
|
carol::iptables-restore < /etc/iptables.rules
carol::ipsec start
dave::ipsec start
moon::ipsec start
carol::expect-connection moon
carol::ipsec up moon
carol::iptables -D INPUT -i eth0 -p udp --dport 500 --sport 500 -j ACCEPT
carol::iptables -D OUTPUT -o eth0 -p udp --dport 500 --sport 500 -j ACCEPT
dave::expect-connection moon
dave::ipsec up moon
|