All pastes #523064 Raw Edit

Anonymous

public text v1 · immutable
#523064 ·published 2007-05-30 17:29 UTC
rendered paste body
~ # iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  --  anywhere             192.168.10.141      tcp dpt:https to:192.168.9.254:443
DNAT       tcp  --  anywhere             192.168.10.141      tcp dpt:ssh to:192.168.9.254:22
DNAT       icmp --  anywhere             192.168.10.141      to:192.168.9.254
TRIGGER    all  --  anywhere             192.168.10.141      TRIGGER type:dnat match:0 relate:0
DNAT       all  --  anywhere             192.168.10.141      to:192.168.9.1
DNAT       tcp  --  anywhere             192.168.192.10      tcp dpt:3389 to:192.168.9.1:3389

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere
RETURN     all  --  anywhere             anywhere            PKTTYPE = broadcast
MASQUERADE  all  --  192.168.9.0/24       192.168.9.0/24

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
~ #