All pastes #78823 Raw Edit

Untitled

public text v1 · immutable
#78823 ·published 2006-07-04 16:28 UTC
rendered paste body
trix ~ # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
REJECT     udp  --  anywhere             anywhere            udp dpt:bootps reject-with icmp-port-unreachable
REJECT     udp  --  anywhere             anywhere            udp dpt:domain reject-with icmp-port-unreachable

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
DROP       all  --  anywhere             192.168.0.0/16
ACCEPT     all  --  192.168.0.0/16       anywhere
ACCEPT     all  --  anywhere             192.168.0.0/16

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

------------------------------------------------------------------
trix ~ # iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  --  anywhere             anywhere            tcp dpt:http to:192.168.57.2
DNAT       tcp  --  anywhere             anywhere            tcp dpt:5801 to:192.168.57.2
DNAT       tcp  --  anywhere             anywhere            tcp dpt:5901 to:192.168.57.2
DNAT       tcp  --  anywhere             anywhere            tcp dpt:hosts2-ns to:192.168.57.5
DNAT       tcp  --  anywhere             anywhere            tcp dpt:blizwow to:192.168.57.5
DNAT       tcp  --  anywhere             anywhere            tcp dpt:6112 to:192.168.57.5
DNAT       tcp  --  anywhere             anywhere            tcp dpts:27015:27039 to:192.168.57.5

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination