Last active
January 25, 2017 13:43
-
-
Save markuskont/03fff257f4acb5f285ae53b6b3f851a0 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
Generated by iptables-save v1.6.0 on Wed Jan 25 15:32:29 2017 | |
*nat | |
:PREROUTING ACCEPT [4:14250] | |
:INPUT ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:POSTROUTING ACCEPT [4:14250] | |
-A POSTROUTING -s 192.168.13.0/24 -o br0 -j MASQUERADE | |
COMMIT | |
# Completed on Wed Jan 25 15:32:29 2017 | |
# Generated by iptables-save v1.6.0 on Wed Jan 25 15:32:29 2017 | |
*filter | |
:INPUT ACCEPT [801:76608] | |
:FORWARD ACCEPT [8571:10255563] | |
:OUTPUT ACCEPT [426:71624] | |
-A FORWARD -p tcp -m physdev --physdev-is-bridged -m limit --limit 30/min -j LOG --log-prefix " FORWARD TCP " | |
COMMIT | |
# Completed on Wed Jan 25 15:32:29 2017 |
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
auto br0 | |
iface br0 inet static | |
address 192.168.10.5 | |
netmask 255.255.255.0 | |
gateway 192.168.10.1 | |
dns-nameservers 192.168.10.1 | |
bridge_ports eno1 enp3s0 | |
bridge_stp on | |
# The primary network interface | |
auto eno1 | |
iface eno1 inet manual | |
up ifconfig eno1 up | |
auto enp2s0 | |
iface enp2s0 inet static | |
address 192.168.13.1 | |
netmask 255.255.255.0 | |
auto enp3s0 | |
iface enp3s0 inet manual | |
up ifconfig enp3s0 up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment