notes:ufw
This is an old revision of the document!
Table of Contents
Resources
Show Supported Apps
sudo ufw app list
Get App Info
- Change
x
to an app listed in above command
sudo ufw app info x
Limit Connections
- TODO: What does limit actually do?
sudo ufw limit ssh
Allow Specific Port/Protocol
22
is the port number andtcp
is the protocoludp
can be a protocol
sudo ufw allow 22/tcp
Ubuntu Deny All and Allow SSH
sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw allow 'ssh' && sudo ufw limit 'ssh' && sudo ufw enable && sudo systemctl enable 'ufw'
/srv/www/wiki/data/attic/notes/ufw.1591906559.txt.gz ยท Last modified: (external edit)