No need to enable ip_forward in pretest files
It is enabled by default now.
This commit is contained in:
committed by
Tobias Brunner
parent
49b1655ae1
commit
530f7b8421
@@ -1,7 +1,6 @@
|
||||
alice::iptables-restore < /etc/iptables.rules
|
||||
venus::iptables-restore < /etc/iptables.rules
|
||||
sun::iptables-restore < /etc/iptables.rules
|
||||
moon::echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||
moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to PH_IP_MOON
|
||||
sun::ip route add 10.1.0.0/16 via PH_IP_MOON
|
||||
sun::iptables -t nat -A POSTROUTING -o eth1 -m mark --mark 10 -j SNAT --to PH_IP_CAROL10
|
||||
|
||||
Reference in New Issue
Block a user