lfirewall.conf 1.6 KB

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