All pastes #734280 Raw Edit

Someone

public text v1 · immutable
·published 2007-10-12 15:42 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
  143  6928 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 584 packets, 115K bytes)
 pkts bytes target     prot opt in     out     source               destination
  143  6928 NEW        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW
  308 56295 prerouting_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0
  195 47685 prerouting_wan  all  --  vlan1  *       0.0.0.0/0            0.0.0.0/0

Chain POSTROUTING (policy ACCEPT 163 packets, 9889 bytes)
 pkts bytes target     prot opt in     out     source               destination
  102  5133 postrouting_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0
   55  2745 MASQUERADE  all  --  *      vlan1   0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 17 packets, 2334 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.0/24       192.168.1.0/24      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
   47  2388 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$