Created
March 25, 2013 04:41
-
-
Save ahappyforest/5234973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ifconfig wlan0 192.168.2.1 netmask 255.255.255.0 | |
sudo dhcp -q -cf /etc/dhcpd/dhcpd.conf wlan0 | |
sudo iptables -t nat -A POSTROUTING -o wlan2 -j MASQUERADE | |
sudo su | |
echo "1" /proc/sys/net/ipv4/ip_forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment