Skip to content

Instantly share code, notes, and snippets.

Last active June 26, 2016 10:04
What would you like to do?
Configure device as a wifi bridge
/sbin/ifconfig eth0 netmask up
/sbin/iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
echo "1" | /usr/bin/tee /proc/sys/net/ipv4/ip_forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment