Created
September 22, 2017 14:50
-
-
Save bjoerns1983/d8663e7affab2722f123b2e6b0c3dc78 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
root@kali:~# ifconfig eth0 up | |
root@kali:~# ifconfig eth0 10.0.0.1/24 | |
root@kali:~# iptables -t nat -F | |
root@kali:~# iptables -F | |
root@kali:~# iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE | |
root@kali:~# iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT | |
root@kali:~# 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