Ufw: Difference between revisions
From DWIKI
m (→HOWTO) |
|||
Line 21: | Line 21: | ||
== Stop logging == | == Stop logging == | ||
ufw logging off | ufw logging off | ||
==Add allow rule with logging== | |||
ufw allow log-all from any to any port 113 proto tcp |
Revision as of 09:21, 25 June 2024
UFW - Uncomplicated firewall
Links
HOWTO
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