added passthrough scenario

This commit is contained in:
Andreas Steffen
2007-06-27 14:25:15 +00:00
parent 487fe29ee3
commit 6a39bc4061
7 changed files with 105 additions and 0 deletions
@@ -0,0 +1,8 @@
moon::/etc/init.d/iptables start 2> /dev/null
sun::/etc/init.d/iptables start 2> /dev/null
moon::iptables -I INPUT -i eth1 -s 10.1.0.0/16 -j ACCEPT
moon::iptables -I OUTPUT -o eth1 -d 10.1.0.0/16 -j ACCEPT
moon::ipsec start
sun::ipsec start
moon::sleep 2
moon::ipsec up net-net