Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

Linux masquerade eth0 on wlan0 in 3 lines

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
Tags: linux
Reposted byfadenb fadenb

Don't be the product, buy the product!

Schweinderl