--- bin/lib.sh 2014/05/25 08:49:40 570 +++ bin/lib.sh 2014/09/11 13:51:22 571 @@ -3,6 +3,7 @@ sudo modprobe 8021q sudo vconfig add eth0 63 sudo ifconfig eth0.63 10.60.4.9 netmask 255.255.252.0 up +sudo iptables -t nat -A POSTROUTING -s 10.60.4.9/22 -o eth0 -j MASQUERADE sudo ifconfig virtual 172.16.10.1 netmask 255.255.255.0 up sudo iptables -t nat -A POSTROUTING -s 172.16.10.1/24 -o eth0 -j MASQUERADE