Ufw: Difference between revisions
From DWIKI
mNo edit summary |
|||
Line 11: | Line 11: | ||
ufw allow from 198.51.100.0 to any port 22 proto tcp | 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 == | == List rules == |
Revision as of 08:55, 19 April 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