NAT para tap0 qemu openvz CENTOS 6

por | 29 enero, 2013

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j SNAT --to 123.123.123.123
iptables -t nat -A POSTROUTING -j SNAT --to-source 10.0.0.2

123.123.123.123 vps IP
source tap0 interface ip