Created
December 3, 2017 10:34
-
-
Save jwulf/03675f0278a02349ad8227487113be0e to your computer and use it in GitHub Desktop.
/etc/iptables.rules
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
| # Generated by iptables-save v1.6.0 on Sun Dec 3 10:08:29 2017 | |
| *filter | |
| :INPUT ACCEPT [42:7241] | |
| :FORWARD ACCEPT [0:0] | |
| :OUTPUT ACCEPT [6:616] | |
| -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT | |
| -A FORWARD -i eth0 -o wlan0 -j ACCEPT | |
| COMMIT | |
| # Completed on Sun Dec 3 10:08:29 2017 | |
| # Generated by iptables-save v1.6.0 on Sun Dec 3 10:08:29 2017 | |
| *nat | |
| :PREROUTING ACCEPT [2:233] | |
| :INPUT ACCEPT [2:233] | |
| :OUTPUT ACCEPT [2:212] | |
| :POSTROUTING ACCEPT [2:212] | |
| -A POSTROUTING -o wlan0 -j MASQUERADE | |
| COMMIT | |
| # Completed on Sun Dec 3 10:08:29 2017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment