From Donald, 8 Years ago, written in Plain Text.
This paste is a reply to from
- go back
Embed
Viewing differences between and Re: Untitled
  1. sudo iptables-save -c
  2. # Generated by iptables-save v1.4.21 on Fri May 20 23:15:06 2016
  3. *security
  4. :INPUT ACCEPT [1873:278195]
  5. :FORWARD ACCEPT [0:0]
  6. :OUTPUT ACCEPT [542:99996]
  7. COMMIT
  8. # Completed on Fri May 20 23:15:06 2016
  9. # Generated by iptables-save v1.4.21 on Fri May 20 23:15:06 2016
  10. *raw
  11. :PREROUTING ACCEPT [3950:591093]
  12. :OUTPUT ACCEPT [563:103216]
  13. COMMIT
  14. # Completed on Fri May 20 23:15:06 2016
  15. # Generated by iptables-save v1.4.21 on Fri May 20 23:15:06 2016
  16. *mangle
  17. :PREROUTING ACCEPT [4018:607310]
  18. :INPUT ACCEPT [1934:285204]
  19. :FORWARD ACCEPT [0:0]
  20. :OUTPUT ACCEPT [579:105696]
  21. :POSTROUTING ACCEPT [579:105696]
  22. COMMIT
  23. # Completed on Fri May 20 23:15:06 2016
  24. # Generated by iptables-save v1.4.21 on Fri May 20 23:15:06 2016
  25. *nat
  26. :PREROUTING ACCEPT [2139:328843]
  27. :INPUT ACCEPT [54:6572]
  28. :OUTPUT ACCEPT [18:1288]
  29. :POSTROUTING ACCEPT [18:1288]
  30. COMMIT
  31. # Completed on Fri May 20 23:15:06 2016
  32. # Generated by iptables-save v1.4.21 on Fri May 20 23:15:06 2016
  33. *filter
  34. :INPUT ACCEPT [949:178667]
  35. :FORWARD ACCEPT [0:0]
  36. :OUTPUT ACCEPT [314:69148]
  37. :fail2ban-freeswitch-dos - [0:0]
  38. :fail2ban-freeswitch-tcp - [0:0]
  39. :fail2ban-freeswitch-udp - [0:0]
  40. :fail2ban-ssh - [0:0]
  41. :services - [0:0]
  42. [0:0] -A INPUT -p tcp -m tcp --dport 5432 -j ACCEPT
  43. [771332:224775387] -A INPUT -j fail2ban-freeswitch-tcp
  44. [7:420] -A INPUT -p tcp -m tcp --dport 5080 -j ACCEPT
  45. [0:0] -A INPUT -p udp -m udp --dport 5432 -j ACCEPT
  46. [223:7136] -A INPUT -p udp -m udp --dport 5060 -j ACCEPT
  47. [0:0] -A INPUT -p udp -m udp --dport 5066 -j ACCEPT
  48. [0:0] -A INPUT -p udp -m udp --dport 5060:5090 -j ACCEPT
  49. [28:1624] -A INPUT -p tcp -m tcp --dport 5060:5090 -j ACCEPT
  50. [2125:204580] -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
  51. [0:0] -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
  52. [0:0] -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
  53. [0:0] -A OUTPUT -p udp -m udp --dport 5060:5090 -j ACCEPT
  54. [7:388] -A OUTPUT -p tcp -m tcp --dport 5060:5090 -j ACCEPT
  55. [771330:224773764] -A fail2ban-freeswitch-tcp -j RETURN
  56. [762978:223633684] -A fail2ban-freeswitch-udp -j RETURN
  57. [0:0] -A services -p tcp -m multiport --dports 5060,5080,5066 -m comment --comment "SIP tcp" -j ACCEPT
  58. [0:0] -A services -p udp -m multiport --dports 5060,5080,5066 -m comment --comment "SIP tcp" -j ACCEPT
  59. COMMIT
  60. # Completed on Fri May 20 23:15:06 2016
  61. installer@freeSwitch:~$ ^C
  62. installer@freeSwitch:~$
  63.