Ubuntu Pastebin

Paste from biosphere at Sun, 30 Apr 2017 19:37:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
iptables -P FORWARD DROP
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT

iptables -F INPUT
iptables -F FORWARD
iptables -F OUTPUT 
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

iptables -A FORWARD -i eth0 -o eth1 -d 192.168.109.100 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -s 192.168.109.100 -j ACCEPT
Download as text