Created
December 30, 2013 21:30
-
-
Save sbma44/8188475 to your computer and use it in GitHub Desktop.
working NAT iptables configuration
This file contains 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.4.14 on Sun Dec 1 13:49:10 2013 | |
*nat | |
:PREROUTING ACCEPT [329:25039] | |
:INPUT ACCEPT [194:13371] | |
:OUTPUT ACCEPT [0:0] | |
:POSTROUTING ACCEPT [0:0] | |
-A POSTROUTING -o eth0 -j MASQUERADE | |
COMMIT | |
# Completed on Sun Dec 1 13:49:10 2013 | |
# Generated by iptables-save v1.4.14 on Sun Dec 1 13:49:10 2013 | |
*filter | |
:INPUT ACCEPT [1384:725715] | |
:FORWARD ACCEPT [877:601931] | |
:OUTPUT ACCEPT [1102:200985] | |
-A FORWARD -i eth1 -j ACCEPT | |
COMMIT | |
# Completed on Sun Dec 1 13:49:10 2013 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment