Last active
September 12, 2017 20:09
-
-
Save luanpcweb/93ff03c5356bfb980a1a4445ad4dc7ee 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
# iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE | |
# iptables -A FORWARD -i wlan0 -o wlx001aef4b53cb -m state --state RELATED,ESTABLISHED -j ACCEPT | |
# iptables -A FORWARD -i wlx001aef4b53cb -o wlan0 -j ACCEPT | |
# sh -c "iptables-save > /etc/iptables/rules.v4" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment