Guest User

Untitled

a guest
May 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. ext_if = "vr0"
  2.  
  3. block in all
  4. pass out all
  5.  
  6. #Skip PF Filtering on lo0 interface
  7. set skip on lo0
  8. #HTTP
  9. pass in on $ext_if proto tcp from any to any port 80
  10. #HTTPS
  11. pass in on $ext_if proto tcp from any to any port 443
  12. #Monit
  13. pass in on $ext_if proto tcp from any to any port 2812
  14. #SSH
  15. pass in on $ext_if proto tcp from any to any port 22
  16. #SIP UDP
  17. pass in on $ext_if proto udp from any to any port 5060:5090
  18. #SIP TCP
  19. pass in on $ext_if proto tcp from any to any port 5060:5090
  20. #RTP/RTCP
  21. pass in on $ext_if proto udp from any to any port 16384:32768
  22. #DNS UDP
  23. pass in on $ext_if proto udp from any to any port 53
  24. #DNS TCP
  25. pass in on $ext_if proto tcp from any to any port 53
  26. #IMAP TCP
  27. pass in on $ext_if proto tcp from any to any port 993
  28. #SMTP TCP
  29. pass in on $ext_if proto tcp from any to any port 25
  30. #POP3S TCP
  31. pass in on $ext_if proto tcp from any to any port 995
Add Comment
Please, Sign In to add comment