seiburii

PFSENSE - PFCTL - COMMAND DUMP

Aug 31st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1.  
  2.  
  3. @@@@@@@@@@@@@@@@@@@@
  4. Hypervisor - ESXI
  5. @@@@@@@@@@@@@@@@@@@@
  6.  
  7. -------------
  8. Installation
  9. -------------
  10.  
  11. --------------
  12. Configuration
  13. --------------
  14.  
  15. @@@@@@@@@@@@@@@@@@@@
  16. Router/Firewall
  17. @@@@@@@@@@@@@@@@@@@@
  18.  
  19. Name: PFSense
  20.  
  21. -------------
  22. Installation
  23. -------------
  24.  
  25. Pre Steps
  26.  
  27. Turn On
  28. Post Steps
  29. pfctl -sa /tmp/pfctl---`date +'%Y%m%d_%H%M%S'---allinfo.conf`; \
  30. pfctl -sr /tmp/pfctl---`date +'%Y%m%d_%H%M%S'---rules.conf
  31. pfctl -sa > "/tmp/pfctl---`date +'%Y%m%d_%H%M%S'`---default---all.conf" && pfctl -sr > "/tmp/pfctl---`date +'%Y%m%d_%H%M%S'`---default---rules.conf"
  32. pfctl -sa > "/tmp/pfctl---`date +'%Y%m%d_%H%M%S'`---all.conf" && pfctl -sr > "/tmp/pfctl---`date +'%Y%m%d_%H%M%S'`---rules.conf"
  33. https://docs.netgate.com/pfsense/en/latest/firewall/adding-rules-with-easyrule.html
  34. easyrule pass wan tcp 192.168.1.0/24 192.168.1.132 22
  35. easyrule pass wan tcp 192.168.1.0/24 192.168.1.132 80
  36. easyrule pass wan tcp 192.168.1.0/24 192.168.1.132 443
  37. https://samuel.dalesjo.net/?p=19
  38.  
  39. --------------
  40. Configuration
  41. --------------
  42.  
  43. Pre Steps
  44.  
  45.  
  46.  
  47. Post Steps
  48.  
  49. @@@@@@@@@@@@@@@@@@@@
  50.  
  51. @@@@@@@@@@@@@@@@@@@@
  52.  
  53.  
  54.  
  55.  
  56.  
  57. VM
  58. =====
Add Comment
Please, Sign In to add comment