lfirewall.conf 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. ###############################################################################
  2. # Do not edit the lfirewall.conf directly #
  3. # Instead copy it first and edit the lfirewall.conf.local #
  4. # #
  5. # cp /etc/lfirewall/lfirewall.conf /etc/lfirewall/lfirewall.conf.local #
  6. ###############################################################################
  7. # Firewall configuration file
  8. # Uncomment the services you need there
  9. #The network interface to use (uncomment and change value if needed)
  10. #NETWORK_IF=eth0
  11. #################################
  12. # Logging #
  13. #################################
  14. # Set ACTIVATE_LOGGING to 1
  15. # will activate logs
  16. # Set ACTIVATE_LOGGING to 0
  17. # will disable logs
  18. #ACTIVATE_LOGGING=0
  19. #################################
  20. # Additional network tweaks #
  21. #################################
  22. # Set ALLOW_IP_FORWARDING to 1
  23. # if IP forwarding is needed
  24. #ALLOW_IP_FORWARDING=0
  25. ### WARNING: better solution is to use /etc/sysctl.conf
  26. # Set NETWORK_PROTECTION to 1
  27. # to block additional network features from the kernel
  28. # Set NETWORK_PROTECTION to 0
  29. # will do nothing
  30. #NETWORK_PROTECTION=1
  31. #################################
  32. # Services that the system will #
  33. # offer to the network #
  34. #################################
  35. # SSH
  36. SSH_PORT="22"
  37. TCP_SERVICES="22"
  38. # Web server
  39. #TCP_SERVICES="http https $TCP_SERVICES"
  40. # SAMBA
  41. #SAMBA_PORTS="137 138 139"
  42. #TCP_SERVICES="$TCP_SERVICES $SAMBA_PORTS"
  43. # SAMBA: if you are using Active Directory
  44. #TCP_SERVICES="$TCP_SERVICES 445"
  45. #TCP_SERVICES=$TCP_SERVICES" 10021 10023:10999" # vsFTP
  46. UDP_SERVICES=""
  47. #################################
  48. # Services the system will use #
  49. # from the network #
  50. #################################
  51. # These services will not be accessible from the current
  52. # server until they are allowed
  53. #REMOTE_TCP_SERVICES="80 443" # Web browsing
  54. REMOTE_TCP_SERVICES="22 $REMOTE_TCP_SERVICES" # SSH
  55. #REMOTE_TCP_SERVICES="20 $REMOTE_TCP_SERVICES" # FTP
  56. REMOTE_TCP_SERVICES="$REMOTE_TCP_SERVICES $SAMBA_PORTS"
  57. REMOTE_UDP_SERVICES="53" # DNS
  58. BANNED_LISTS="et_spamhaus spamhaus_drop et_dshield"