All pastes #734259 Raw Edit

Mine

public text v1 · immutable
·published 2007-10-12 15:19 UTC
rendered paste body
root@Scranton:/etc$ iptables -t nat -L -v -n
Chain NEW (1 references)
 pkts bytes target     prot opt in     out     source               destination
   19   924 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           limit: avg 50/sec burst 100
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain PREROUTING (policy ACCEPT 251 packets, 48175 bytes)
 pkts bytes target     prot opt in     out     source               destination
   19   924 NEW        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW
   43  7378 prerouting_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0
   27  5508 prerouting_wan  all  --  vlan1  *       0.0.0.0/0            0.0.0.0/0

Chain POSTROUTING (policy ACCEPT 116 packets, 7501 bytes)
 pkts bytes target     prot opt in     out     source               destination
   14   730 postrouting_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0
    5   262 MASQUERADE  all  --  *      vlan1   0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 11 packets, 1936 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain postrouting_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 SNAT       all  --  *      br0     192.168.1.201        192.168.1.201       to:192.168.1.1
    9   468 SNAT       all  --  *      *       0.0.0.0/0            192.168.1.201       to:192.168.1.1

Chain prerouting_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination

Chain prerouting_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:22
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:8443
    9   468 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 to:192.168.1.201:80
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:21 to:192.168.1.201:21
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:6201 to:192.168.1.201:6201
root@Scranton:/etc$