Ufw: Difference between revisions

From DWIKI
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
*[https://www.linode.com/docs/security/firewalls/configure-firewall-with-ufw/ Use UFW to Manage Firewall Rules]
*[https://www.linode.com/docs/security/firewalls/configure-firewall-with-ufw/ Use UFW to Manage Firewall Rules]


= FAQ =
= HOWTO =


==From host to port==
==From host to port==
  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 ==

Latest revision as of 09: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