lfirewall.conf 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. # Additional network tweaks #
  13. #################################
  14. # Set ALLOW_IP_FORWARDING to 1
  15. # if IP forwarding is needed
  16. # Set ALLOW_IP_FORWARDING to 0
  17. # will write 0 into /proc/sys/net/ipv4/ip_forward
  18. #ALLOW_IP_FORWARDING=0
  19. # Set NETWORK_PROTECTION to 1
  20. # to block additional network features from the kernel
  21. # Set NETWORK_PROTECTION to 0
  22. # will do nothing
  23. #NETWORK_PROTECTION=1
  24. #################################
  25. # Services that the system will #
  26. # offer to the network #
  27. #################################
  28. # SSH
  29. SSH_PORT="22"
  30. TCP_SERVICES="22"
  31. # Web server
  32. #TCP_SERVICES="http https $TCP_SERVICES"
  33. # SAMBA
  34. #SAMBA_PORTS="137 138 139"
  35. #TCP_SERVICES="$TCP_SERVICES $SAMBA_PORTS"
  36. # SAMBA: if you are using Active Directory
  37. #TCP_SERVICES="$TCP_SERVICES 445"
  38. #TCP_SERVICES=$TCP_SERVICES" 10021 10023:10999" # vsFTP
  39. UDP_SERVICES=""
  40. #################################
  41. # Services the system will use #
  42. # from the network #
  43. #################################
  44. # These services will not be accessible from the current
  45. # server until they are allowed
  46. REMOTE_TCP_SERVICES="80 443" # Web browsing
  47. REMOTE_TCP_SERVICES="22 $REMOTE_TCP_SERVICES" # SSH
  48. REMOTE_TCP_SERVICES="20 $REMOTE_TCP_SERVICES" # FTP
  49. REMOTE_TCP_SERVICES="$REMOTE_TCP_SERVICES $SAMBA_PORTS"
  50. REMOTE_UDP_SERVICES="53" # DNS