lfirewall.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Firewall configuration file
  2. # Uncomment the services you need there
  3. #The network interface to use (uncomment and change value if needed)
  4. #NETWORK_IF=eth0
  5. # Set ALLOW_IP_FORWARDING to 1
  6. # if IP forwarding is needed
  7. # Set ALLOW_IP_FORWARDING to 0
  8. # will write 0 into /proc/sys/net/ipv4/ip_forward
  9. ALLOW_IP_FORWARDING=0
  10. #################################
  11. # Services that the system will #
  12. # offer to the network #
  13. #################################
  14. # SSH
  15. TCP_SERVICES="22"
  16. # SAMBA
  17. #SAMBA_PORTS="137 138 139"
  18. #TCP_SERVICES="$TCP_SERVICES $SAMBA_PORTS"
  19. # SAMBA: if you are using Active Directory
  20. #TCP_SERVICES="$TCP_SERVICES 445"
  21. #TCP_SERVICES=$TCP_SERVICES" 10021 10023:10999" # vsFTP
  22. UDP_SERVICES=""
  23. #################################
  24. # Services the system will use #
  25. # from the network #
  26. #################################
  27. # These services will not be accessible from the current
  28. # server until they are allowed
  29. REMOTE_TCP_SERVICES="80 443" # Web browsing
  30. REMOTE_TCP_SERVICES="22 $REMOTE_TCP_SERVICES" # SSH
  31. REMOTE_TCP_SERVICES="20 $REMOTE_TCP_SERVICES" # FTP
  32. REMOTE_TCP_SERVICES="$REMOTE_TCP_SERVICES $SAMBA_PORTS"
  33. REMOTE_UDP_SERVICES="53" # DNS