Guest User

Untitled

a guest
Apr 18th, 2011
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. root@DD-WRT:~# iptables -t nat -L
  2. Chain PREROUTING (policy ACCEPT)
  3. target prot opt source destination
  4. DNAT tcp -- anywhere ip70-170-70-49.lv.lv.cox.net tcp dpt:ssh to:192.168.1.1:22
  5. DNAT icmp -- anywhere ip70-170-70-49.lv.lv.cox.net to:192.168.1.1
  6. DNAT tcp -- anywhere ip70-170-70-49.lv.lv.cox.net tcp dpt:tcpmux to:192.168.1.99:4000
  7. DNAT udp -- anywhere ip70-170-70-49.lv.lv.cox.net udp dpt:1 to:192.168.1.99:4000
  8. TRIGGER 0 -- anywhere ip70-170-70-49.lv.lv.cox.net TRIGGER type:dnat match:0 relate:0
  9.  
  10. Chain POSTROUTING (policy ACCEPT)
  11. target prot opt source destination
  12. SNAT 0 -- anywhere anywhere to:70.170.70.49
  13. RETURN 0 -- anywhere anywhere PKTTYPE = broadcast
  14. MASQUERADE 0 -- 192.168.1.0/24 192.168.1.0/24
  15.  
  16. Chain OUTPUT (policy ACCEPT)
  17. target prot opt source destination
  18. root@DD-WRT:~# iptables -t filter -L
  19. Chain INPUT (policy ACCEPT)
  20. target prot opt source destination
  21. ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
  22. DROP udp -- anywhere anywhere udp dpt:route
  23. DROP udp -- anywhere anywhere udp dpt:route
  24. ACCEPT udp -- anywhere anywhere udp dpt:route
  25. logaccept tcp -- anywhere DD-WRT tcp dpt:ssh
  26. DROP icmp -- anywhere anywhere
  27. DROP igmp -- anywhere anywhere
  28. ACCEPT 0 -- anywhere anywhere state NEW
  29. logaccept 0 -- anywhere anywhere state NEW
  30. DROP 0 -- anywhere anywhere
  31.  
  32. Chain FORWARD (policy ACCEPT)
  33. target prot opt source destination
  34. ACCEPT gre -- 192.168.1.0/24 anywhere
  35. ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:1723
  36. ACCEPT 0 -- anywhere anywhere
  37. TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
  38. lan2wan 0 -- anywhere anywhere
  39. ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
  40. ACCEPT tcp -- anywhere 192.168.1.99 tcp dpt:4000
  41. ACCEPT udp -- anywhere 192.168.1.99 udp dpt:4000
  42. TRIGGER 0 -- anywhere anywhere TRIGGER type:in match:0 relate:0
  43. trigger_out 0 -- anywhere anywhere
  44. ACCEPT 0 -- anywhere anywhere state NEW
  45. DROP 0 -- anywhere anywhere
  46.  
  47. Chain OUTPUT (policy ACCEPT)
  48. target prot opt source destination
  49.  
  50. Chain advgrp_1 (0 references)
  51. target prot opt source destination
  52.  
  53. Chain advgrp_10 (0 references)
  54. target prot opt source destination
  55.  
  56. Chain advgrp_2 (0 references)
  57. target prot opt source destination
  58.  
  59. Chain advgrp_3 (0 references)
  60. target prot opt source destination
  61.  
  62. Chain advgrp_4 (0 references)
  63. target prot opt source destination
  64.  
  65. Chain advgrp_5 (0 references)
  66. target prot opt source destination
  67.  
  68. Chain advgrp_6 (0 references)
  69. target prot opt source destination
  70.  
  71. Chain advgrp_7 (0 references)
  72. target prot opt source destination
  73.  
  74. Chain advgrp_8 (0 references)
  75. target prot opt source destination
  76.  
  77. Chain advgrp_9 (0 references)
  78. target prot opt source destination
  79.  
  80. Chain grp_1 (0 references)
  81. target prot opt source destination
  82.  
  83. Chain grp_10 (0 references)
  84. target prot opt source destination
  85.  
  86. Chain grp_2 (0 references)
  87. target prot opt source destination
  88.  
  89. Chain grp_3 (0 references)
  90. target prot opt source destination
  91.  
  92. Chain grp_4 (0 references)
  93. target prot opt source destination
  94.  
  95. Chain grp_5 (0 references)
  96. target prot opt source destination
  97.  
  98. Chain grp_6 (0 references)
  99. target prot opt source destination
  100.  
  101. Chain grp_7 (0 references)
  102. target prot opt source destination
  103.  
  104. Chain grp_8 (0 references)
  105. target prot opt source destination
  106.  
  107.  
  108. Chain grp_9 (0 references)
  109. target prot opt source destination
  110.  
  111. Chain lan2wan (1 references)
  112. target prot opt source destination
  113.  
  114. Chain logaccept (2 references)
  115. target prot opt source destination
  116. ACCEPT 0 -- anywhere anywhere
  117.  
  118. Chain logdrop (0 references)
  119. target prot opt source destination
  120. DROP 0 -- anywhere anywhere
  121.  
  122. Chain logreject (0 references)
  123. target prot opt source destination
  124. REJECT tcp -- anywhere anywhere tcp reject-with tcp-reset
  125.  
  126. Chain trigger_out (1 references)
  127. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment