blob: a056e1dc927b329323f5cfac766f43be42a63583 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
carol::iptables-restore < /etc/iptables.rules
moon::ipsec start
carol::ipsec start
dave::ipsec start
moon::expect-connection carol
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
|