IT/Software/Server Config/UFW

From msgwiki
Revision as of 12:09, 13 January 2021 by Walttheboss (talk | contribs)
Jump to navigation Jump to search

This is the default firewall in Linux

Turn it on

sudo ufw enable

Check Status

sudo ufw status

Add a port

sudo ufw allow 22

Close a port

sudo ufw deny 22

We normally open

http 22 https 443 ssh 22 nfs 111 2049