Ufw

From DWIKI
Revision as of 09:42, 11 September 2024 by Tony (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UFW - Uncomplicated firewall

Links

Documentation

Logging

HOWTO

Allow SSH

ufw allow from 12.3.4 to any app OpenSSH

From host to port

ufw allow from 198.51.100.0 to any port 22 proto tcp

From host to app

ufw allow from 192.168.3.4 to any app SSH

List rules

ufw status numbered


Stop logging

ufw logging off


Add allow rule with logging

ufw allow log-all from any to any port 113 proto tcp

Allow port range

ufw allow from any to any port 60000:60010 proto udp

Where do application files come from?

For example "Apache Full" gets installed with the apache2 package.