Wednesday, March 9, 2011

iptables error

iptables -t nat -A POSTROUTING -o eth0:2 -j MASQUERADE
Warning: weird character in interface `eth0:2' (No aliases, :, ! or *).

gunakan

iptables -t nat -A POSTROUTING -o eth0-2 -j MASQUERADE

No comments: