Tips repository!
Thursday, 20 January 2011
Use linux host as gateway
#Enable the ip forward
sysctl -w net.ipv4.ip_forward=1
#Let iptables do the magic :)
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment