SHARE
TWEET

firewall

archy1337 Mar 31st, 2020 138 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### EXAMPLE CONFIG SECTIONS
  2. # do not allow a specific ip to access wan
  3. #config rule
  4. #   option src      lan
  5. #   option src_ip   192.168.45.2
  6. #   option dest     wan
  7. #   option proto    tcp
  8. #   option target   REJECT
  9.  
  10. # block a specific mac on wan
  11. #config rule
  12. #   option dest     wan
  13. #   option src_mac  00:11:22:33:44:66
  14. #   option target   REJECT
  15.  
  16. # block incoming ICMP traffic on a zone
  17. #config rule
  18. #   option src      lan
  19. #   option proto    ICMP
  20. #   option target   DROP
  21.  
  22. # port redirect port coming in on wan to lan
  23. #config redirect
  24. #   option src          wan
  25. #   option src_dport    80
  26. #   option dest         lan
  27. #   option dest_ip      192.168.16.235
  28. #   option dest_port    80
  29. #   option proto        tcp
  30.  
  31. # port redirect of remapped ssh port (22001) on wan
  32. #config redirect
  33. #   option src      wan
  34. #   option src_dport    22001
  35. #   option dest     lan
  36. #   option dest_port    22
  37. #   option proto        tcp
  38.  
  39. ### FULL CONFIG SECTIONS
  40. #config rule
  41. #   option src      lan
  42. #   option src_ip   192.168.45.2
  43. #   option src_mac  00:11:22:33:44:55
  44. #   option src_port 80
  45. #   option dest     wan
  46. #   option dest_ip  194.25.2.129
  47. #   option dest_port    120
  48. #   option proto    tcp
  49. #   option target   REJECT
  50.  
  51. #config redirect
  52. #   option src      lan
  53. #   option src_ip   192.168.45.2
  54. #   option src_mac  00:11:22:33:44:55
  55. #   option src_port     1024
  56. #   option src_dport    80
  57. #   option dest_ip  194.25.2.129
  58. #   option dest_port    120
  59. #   option proto    tcp
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top