lfirewall.conf 1013 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #################################
  6. # Services that the system will #
  7. # offer to the network #
  8. #################################
  9. # SSH
  10. TCP_SERVICES="22"
  11. # SAMBA
  12. #SAMBA_PORTS="137 138 139"
  13. #TCP_SERVICES="$TCP_SERVICES $SAMBA_PORTS"
  14. # SAMBA: if you are using Active Directory
  15. #TCP_SERVICES="$TCP_SERVICES 445"
  16. #TCP_SERVICES=$TCP_SERVICES" 10021 10023:10999" # vsFTP
  17. UDP_SERVICES=""
  18. #################################
  19. # Services the system will use #
  20. # from the network #
  21. #################################
  22. # These services will not be accessible from the current
  23. # server until they are allowed
  24. REMOTE_TCP_SERVICES="80 443" # Web browsing
  25. REMOTE_TCP_SERVICES="22 $REMOTE_TCP_SERVICES" # SSH
  26. REMOTE_TCP_SERVICES="20 $REMOTE_TCP_SERVICES" # FTP
  27. REMOTE_TCP_SERVICES="$REMOTE_TCP_SERVICES $SAMBA_PORTS"
  28. REMOTE_UDP_SERVICES="53" # DNS