Advertisement
brianatlarge

routeriptable_c

Dec 4th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1. Chain INPUT (policy DROP 0 packets, 0 bytes)
  2. pkts bytes target prot opt in out source destination
  3. 0 0 DROP 0 -- br0 * 0.0.0.0/0 [my_public_ip]
  4. 0 0 logdrop 0 -- * * 0.0.0.0/0 0.0.0.0/0
  5. state INVALID
  6. 642 115K ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0
  7. state RELATED,ESTABLISHED
  8. 771 105K ACCEPT 0 -- br0 * 0.0.0.0/0 0.0.0.0/0
  9. 0 0 ACCEPT 0 -- lo * 0.0.0.0/0 0.0.0.0/0
  10. 82 18044 logdrop 0 -- * * 0.0.0.0/0 0.0.0.0/0
  11.  
  12. Chain FORWARD (policy DROP 0 packets, 0 bytes)
  13. pkts bytes target prot opt in out source destination
  14. 5 256 ACCEPT 0 -- br0 br0 0.0.0.0/0 0.0.0.0/0
  15. 0 0 DROP 0 -- * * 0.0.0.0/0 0.0.0.0/0
  16. state INVALID
  17. 0 0 TCPMSS tcp -- * * 0.0.0.0/0 0.0.0.0/0
  18. tcp flags:0x06/0x02 tcpmss match 1461:65535 TCPMSS set 1460
  19. 12032 8767K ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0
  20. state RELATED,ESTABLISHED
  21. 6 360 wanin 0 -- vlan1 * 0.0.0.0/0 0.0.0.0/0
  22. 1219 68501 wanout 0 -- * vlan1 0.0.0.0/0 0.0.0.0/0
  23. 1219 68501 logaccept 0 -- br0 * 0.0.0.0/0 0.0.0.0/0
  24. 0 0 upnp 0 -- vlan1 * 0.0.0.0/0 0.0.0.0/0
  25.  
  26. Chain OUTPUT (policy ACCEPT 1317 packets, 371K bytes)
  27. pkts bytes target prot opt in out source destination
  28.  
  29. Chain logaccept (3 references)
  30. pkts bytes target prot opt in out source destination
  31. 373 20948 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
  32. state NEW limit: avg 1/sec burst 5 LOG flags 6 level 4 prefix `ACCEPT '
  33. 1225 68861 ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0
  34.  
  35. Chain logdrop (2 references)
  36. pkts bytes target prot opt in out source destination
  37. 42 15644 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
  38. state NEW limit: avg 1/sec burst 5 LOG flags 6 level 4 prefix `DROP '
  39. 82 18044 DROP 0 -- * * 0.0.0.0/0 0.0.0.0/0
  40.  
  41.  
  42. Chain logreject (0 references)
  43. pkts bytes target prot opt in out source destination
  44. 0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
  45. limit: avg 1/sec burst 5 LOG flags 6 level 4 prefix `REJECT '
  46. 0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0
  47.  
  48. reject-with tcp-reset
  49. Chain upnp (1 references)
  50. pkts bytes target prot opt in out source destination
  51. 0 0 ACCEPT udp -- * * 0.0.0.0/0 192.168.1.142
  52.  
  53. udp dpt:52427
  54. Chain wanin (1 references)
  55. pkts bytes target prot opt in out source destination
  56. 6 360 logaccept tcp -- * * 0.0.0.0/0 192.168.1.10 tcp dpt:22
  57. 0 0 logaccept udp -- * * 0.0.0.0/0 192.168.1.10 udp dpt:22
  58.  
  59.  
  60. Chain wanout (1 references)
  61. pkts bytes target prot opt in out source destination
  62.  
  63. Chain PREROUTING (policy ACCEPT 702 packets, 86277 bytes)
  64. pkts bytes target prot opt in out source destination
  65. 0 0 DROP 0 -- vlan1 * 0.0.0.0/0 192.168.1.0/24
  66. 9 460 DNAT icmp -- * * 0.0.0.0/0 [my_public_ip] to:192.168.1.1
  67. 5 284 DNAT tcp -- * * 0.0.0.0/0 [my_public_ip] tcp dpt:22 to:192.168.1.10
  68. 0 0 DNAT udp -- * * 0.0.0.0/0 [my_public_ip] udp dpt:22 to:192.168.1.10
  69. 78 17580 upnp 0 -- * * 0.0.0.0/0 [my_public_ip]
  70.  
  71.  
  72. Chain POSTROUTING (policy ACCEPT 28 packets, 7338 bytes)
  73. pkts bytes target prot opt in out source destination
  74. 2 104 SNAT tcp -- * * 192.168.1.0/24 192.168.1.10 tcp dpt:22 to:[my_public_ip]
  75. 0 0 SNAT udp -- * * 192.168.1.0/24 192.168.1.10 udp dpt:22 to:[my_public_ip]
  76. 316 20635 MASQUERADE 0 -- * vlan1 0.0.0.0/0 0.0.0.0/0
  77.  
  78.  
  79. Chain OUTPUT (policy ACCEPT 229 packets, 21284 bytes)
  80. pkts bytes target prot opt in out source destination
  81.  
  82.  
  83. Chain upnp (1 references)
  84. pkts bytes target prot opt in out source destination
  85. 0 0 DNAT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:52427 to:192.168.1.142:52427
  86.  
  87.  
  88. Chain PREROUTING (policy ACCEPT 14783 packets, 9076K bytes)
  89. pkts bytes target prot opt in out source destination
  90.  
  91.  
  92. Chain INPUT (policy ACCEPT 141K packets, 21M bytes)
  93. pkts bytes target prot opt in out source destination
  94.  
  95.  
  96. Chain FORWARD (policy ACCEPT 4156K packets, 3220M bytes)
  97. pkts bytes target prot opt in out source destination
  98.  
  99.  
  100. Chain OUTPUT (policy ACCEPT 1327 packets, 376K bytes)
  101. pkts bytes target prot opt in out source destination
  102.  
  103.  
  104. Chain POSTROUTING (policy ACCEPT 4271K packets, 3241M bytes)
  105. pkts bytes target prot opt in out source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement