Ufw: Difference between revisions

From DWIKI
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


=Links=
=Links=
*[https://help.ubuntu.com/lts/serverguide/firewall.html.en Firewall]
*[https://ubuntu.com/server/docs/security-firewall Ubuntu Firewall]
*[https://help.ubuntu.com/community/UFW UFW]
*[https://help.ubuntu.com/community/UFW UFW]
*[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 =
==List rules==
 
==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
  ufw status numbered
== Stop logging ==
ufw logging off

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