Advertisement
Guest User

Untitled

a guest
Sep 12th, 2014
326
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Generated by iptables-save v1.4.8 on Fri Sep 12 14:52:36 2014
  2. *nat
  3. :PREROUTING ACCEPT [29:1962]
  4. :POSTROUTING ACCEPT [1:74]
  5. :OUTPUT ACCEPT [2:134]
  6. [0:0] -A PREROUTING -i ppp0 -p tcp -m tcp --dport 81 -j DNAT --to-destination 192.168.16.8:80
  7. [0:0] -A PREROUTING -i ppp0 -p tcp -m tcp --dport 5000 -j DNAT --to-destination 192.168.16.8:5000
  8. [1:60] -A POSTROUTING -p tcp -m tcp --dport 80 -j MASQUERADE
  9. [0:0] -A POSTROUTING -p tcp -m tcp --dport 5000 -j MASQUERADE
  10. COMMIT
  11. # Completed on Fri Sep 12 14:52:36 2014
  12. # Generated by iptables-save v1.4.8 on Fri Sep 12 14:52:36 2014
  13. *mangle
  14. :PREROUTING ACCEPT [717:74703]
  15. :INPUT ACCEPT [602:60390]
  16. :FORWARD ACCEPT [60:4003]
  17. :OUTPUT ACCEPT [534:94674]
  18. :POSTROUTING ACCEPT [588:98277]
  19. COMMIT
  20. # Completed on Fri Sep 12 14:52:36 2014
  21. # Generated by iptables-save v1.4.8 on Fri Sep 12 14:52:36 2014
  22. *filter
  23. :INPUT DROP [0:0]
  24. :FORWARD DROP [7:476]
  25. :OUTPUT ACCEPT [1:52]
  26. :ufw-after-forward - [0:0]
  27. :ufw-after-input - [0:0]
  28. :ufw-after-logging-forward - [0:0]
  29. :ufw-after-logging-input - [0:0]
  30. :ufw-after-logging-output - [0:0]
  31. :ufw-after-output - [0:0]
  32. :ufw-before-forward - [0:0]
  33. :ufw-before-input - [0:0]
  34. :ufw-before-logging-forward - [0:0]
  35. :ufw-before-logging-input - [0:0]
  36. :ufw-before-logging-output - [0:0]
  37. :ufw-before-output - [0:0]
  38. :ufw-logging-allow - [0:0]
  39. :ufw-logging-deny - [0:0]
  40. :ufw-not-local - [0:0]
  41. :ufw-reject-forward - [0:0]
  42. :ufw-reject-input - [0:0]
  43. :ufw-reject-output - [0:0]
  44. :ufw-skip-to-policy-forward - [0:0]
  45. :ufw-skip-to-policy-input - [0:0]
  46. :ufw-skip-to-policy-output - [0:0]
  47. :ufw-track-input - [0:0]
  48. :ufw-track-output - [0:0]
  49. :ufw-user-forward - [0:0]
  50. :ufw-user-input - [0:0]
  51. :ufw-user-limit - [0:0]
  52. :ufw-user-limit-accept - [0:0]
  53. :ufw-user-logging-forward - [0:0]
  54. :ufw-user-logging-input - [0:0]
  55. :ufw-user-logging-output - [0:0]
  56. :ufw-user-output - [0:0]
  57. [135:14578] -A INPUT -j ufw-before-logging-input
  58. [135:14578] -A INPUT -j ufw-before-input
  59. [0:0] -A INPUT -j ufw-after-input
  60. [0:0] -A INPUT -j ufw-after-logging-input
  61. [0:0] -A INPUT -j ufw-reject-input
  62. [0:0] -A INPUT -j ufw-track-input
  63. [7:476] -A FORWARD -j ufw-before-logging-forward
  64. [7:476] -A FORWARD -j ufw-before-forward
  65. [7:476] -A FORWARD -j ufw-after-forward
  66. [7:476] -A FORWARD -j ufw-after-logging-forward
  67. [7:476] -A FORWARD -j ufw-reject-forward
  68. [119:18282] -A OUTPUT -j ufw-before-logging-output
  69. [119:18282] -A OUTPUT -j ufw-before-output
  70. [2:126] -A OUTPUT -j ufw-after-output
  71. [2:126] -A OUTPUT -j ufw-after-logging-output
  72. [2:126] -A OUTPUT -j ufw-reject-output
  73. [2:126] -A OUTPUT -j ufw-track-output
  74. [0:0] -A ufw-after-input -p udp -m udp --dport 137 -j ufw-skip-to-policy-input
  75. [0:0] -A ufw-after-input -p udp -m udp --dport 138 -j ufw-skip-to-policy-input
  76. [0:0] -A ufw-after-input -p tcp -m tcp --dport 139 -j ufw-skip-to-policy-input
  77. [0:0] -A ufw-after-input -p tcp -m tcp --dport 445 -j ufw-skip-to-policy-input
  78. [0:0] -A ufw-after-input -p udp -m udp --dport 67 -j ufw-skip-to-policy-input
  79. [0:0] -A ufw-after-input -p udp -m udp --dport 68 -j ufw-skip-to-policy-input
  80. [0:0] -A ufw-after-input -m addrtype --dst-type BROADCAST -j ufw-skip-to-policy-input
  81. [7:476] -A ufw-after-logging-forward -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
  82. [0:0] -A ufw-after-logging-input -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
  83. [2:126] -A ufw-after-logging-output -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
  84. [7:476] -A ufw-before-forward -j ufw-user-forward
  85. [14:3373] -A ufw-before-input -i lo -j ACCEPT
  86. [101:9577] -A ufw-before-input -m state --state RELATED,ESTABLISHED -j ACCEPT
  87. [1:40] -A ufw-before-input -m state --state INVALID -j ufw-logging-deny
  88. [1:40] -A ufw-before-input -m state --state INVALID -j DROP
  89. [0:0] -A ufw-before-input -p icmp -m icmp --icmp-type 3 -j ACCEPT
  90. [0:0] -A ufw-before-input -p icmp -m icmp --icmp-type 4 -j ACCEPT
  91. [0:0] -A ufw-before-input -p icmp -m icmp --icmp-type 11 -j ACCEPT
  92. [0:0] -A ufw-before-input -p icmp -m icmp --icmp-type 12 -j ACCEPT
  93. [0:0] -A ufw-before-input -p icmp -m icmp --icmp-type 8 -j ACCEPT
  94. [0:0] -A ufw-before-input -p udp -m udp --sport 67 --dport 68 -j ACCEPT
  95. [19:1588] -A ufw-before-input -j ufw-not-local
  96. [0:0] -A ufw-before-input -s 224.0.0.0/4 -j ACCEPT
  97. [0:0] -A ufw-before-input -d 224.0.0.0/4 -j ACCEPT
  98. [19:1588] -A ufw-before-input -j ufw-user-input
  99. [7:476] -A ufw-before-logging-forward -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW AUDIT] "
  100. [10:908] -A ufw-before-logging-input -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW AUDIT] "
  101. [2:134] -A ufw-before-logging-output -m state --state NEW -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW AUDIT] "
  102. [14:3373] -A ufw-before-output -o lo -j ACCEPT
  103. [103:14783] -A ufw-before-output -m state --state RELATED,ESTABLISHED -j ACCEPT
  104. [2:126] -A ufw-before-output -j ufw-user-output
  105. [0:0] -A ufw-logging-allow -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
  106. [1:40] -A ufw-logging-deny -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
  107. [5:256] -A ufw-not-local -m addrtype --dst-type LOCAL -j RETURN
  108. [0:0] -A ufw-not-local -m addrtype --dst-type MULTICAST -j RETURN
  109. [14:1332] -A ufw-not-local -m addrtype --dst-type BROADCAST -j RETURN
  110. [0:0] -A ufw-not-local -m limit --limit 3/min --limit-burst 10 -j ufw-logging-deny
  111. [0:0] -A ufw-not-local -j DROP
  112. [0:0] -A ufw-skip-to-policy-forward -j DROP
  113. [0:0] -A ufw-skip-to-policy-input -j DROP
  114. [0:0] -A ufw-skip-to-policy-output -j ACCEPT
  115. [0:0] -A ufw-track-output -p tcp -m state --state NEW -j ACCEPT
  116. [1:74] -A ufw-track-output -p udp -m state --state NEW -j ACCEPT
  117. [1:48] -A ufw-user-input -p tcp -m tcp --dport 22 -j ACCEPT
  118. [18:1540] -A ufw-user-input -s 192.168.0.0/16 -j ACCEPT
  119. [0:0] -A ufw-user-input -p tcp -m tcp --dport 80 -j ACCEPT
  120. [0:0] -A ufw-user-limit -m limit --limit 3/min -j LOG --log-prefix "[UFW LIMIT BLOCK] "
  121. [0:0] -A ufw-user-limit -j REJECT --reject-with icmp-port-unreachable
  122. [0:0] -A ufw-user-limit-accept -j ACCEPT
  123. COMMIT
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement