Server : Apache/2.4.41 (Ubuntu) System : Linux journalup 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/doc/ufw/ |
ufw --- On installation, ufw is not automatically enabled. To load the firewall and enable it on boot, run: # ufw enable See 'man ufw' and README for more information. Upgrading --------- It is important to note that to properly support remote users, the firewall will not be automatically restarted during upgrades. After an upgrade, either reboot or perform: # /etc/init.d/ufw restart Please note that the above command will briefly open the firewall before reloading the rules. Preseeding ---------- ufw has support for preseeding. To enable a default deny firewall, add to your preseed file: ufw ufw/enable boolean true And to allow a service, use: ufw ufw/allow_known_ports multiselect SSH, WWW Currently, ufw knows about the following services: Cups # tcp and udp port 631 DNS # tcp and udp port 53 Imap (Secure) # tcp port 993 Pop3 (Secure) # tcp port 995 SSH # tcp port 22 Samba # udp ports 137, 138 and tcp ports 139, 445 Smtp # tcp port 25 WWW # tcp port 80 WWW (Secure) # tcp port 443 You may also add additional ports by supplying a space separated list of services from /etc/services, a port number or a port/protocol combination. Eg: ufw ufw/allow_custom_ports string auth 8080 1194/udp Please keep in mind that these ports and services are not associated with ufw application profiles.