firewall.conf 927 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Firewall configuration file
  2. # Uncomment the services you need there
  3. #################################
  4. # Services that the system will #
  5. # offer to the network #
  6. #################################
  7. # SSH
  8. TCP_SERVICES="22"
  9. # SAMBA
  10. #SAMBA_PORTS="137 138 139"
  11. #TCP_SERVICES="$TCP_SERVICES $SAMBA_PORTS"
  12. # SAMBA: if you are using Active Directory
  13. #TCP_SERVICES="$TCP_SERVICES 445"
  14. #TCP_SERVICES=$TCP_SERVICES" 10021 10023:10999" # vsFTP
  15. UDP_SERVICES=""
  16. #################################
  17. # Services the system will use #
  18. # from the network #
  19. #################################
  20. # These services will not be accessible from the current
  21. # server until they are allowed
  22. REMOTE_TCP_SERVICES="80 443" # Web browsing
  23. REMOTE_TCP_SERVICES="22 $REMOTE_TCP_SERVICES" # SSH
  24. REMOTE_TCP_SERVICES="20 $REMOTE_TCP_SERVICES" # FTP
  25. REMOTE_TCP_SERVICES="$REMOTE_TCP_SERVICES $SAMBA_PORTS"
  26. REMOTE_UDP_SERVICES="53" # DNS