Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 2.16 KB | Hits: 63 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. [root@twMobileLab ~]# iptables -nvL; iptables -t nat -nvL; iptables -t mangle -nvL
  2. Chain INPUT (policy ACCEPT 314 packets, 42593 bytes)
  3.  pkts bytes target     prot opt in     out     source               destination
  4.  
  5. Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  6.  pkts bytes target     prot opt in     out     source               destination
  7.     0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 4
  8.  
  9. Chain OUTPUT (policy ACCEPT 250 packets, 33349 bytes)
  10.  pkts bytes target     prot opt in     out     source               destination
  11. Chain PREROUTING (policy ACCEPT 72 packets, 7439 bytes)
  12.  pkts bytes target     prot opt in     out     source               destination
  13.  
  14. Chain POSTROUTING (policy ACCEPT 2 packets, 127 bytes)
  15.  pkts bytes target     prot opt in     out     source               destination
  16.    70  5150 MASQUERADE  all  --  *      eth0    0.0.0.0/0           !10.10.10.0/24
  17.  
  18. Chain OUTPUT (policy ACCEPT 72 packets, 5277 bytes)
  19.  pkts bytes target     prot opt in     out     source               destination
  20. Chain PREROUTING (policy ACCEPT 367 packets, 47528 bytes)
  21.  pkts bytes target     prot opt in     out     source               destination
  22.  
  23. Chain INPUT (policy ACCEPT 317 packets, 42713 bytes)
  24.  pkts bytes target     prot opt in     out     source               destination
  25.  
  26. Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  27.  pkts bytes target     prot opt in     out     source               destination
  28.  
  29. Chain OUTPUT (policy ACCEPT 257 packets, 35509 bytes)
  30.  pkts bytes target     prot opt in     out     source               destination
  31.  
  32. Chain POSTROUTING (policy ACCEPT 257 packets, 35509 bytes)
  33.  pkts bytes target     prot opt in     out     source               destination
  34.  
  35.  
  36.  
  37.  
  38. Kernel IP routing table
  39. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  40. 192.168.137.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
  41. 10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 ath0
  42. 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
  43. 0.0.0.0         192.168.137.1   0.0.0.0         UG    0      0        0 eth0