Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 549 Bytes

UFW access control.md

File metadata and controls

18 lines (13 loc) · 549 Bytes
created modified
2024-06-09 16:24:10 +0800
2024-06-09 16:29:31 +0800

UFW access control

when using long range public wifi it matters to block every port from incoming connections.

sudo ufw default deny
sudo ufw prepend reject in on <intetfece name>
sudo ufw restart

when configuration is done, remember to restart ufw and reconnect existing interfaces.

although remote clients are blocked, self-issued connections are not. so be sure to use another computer for testing ufw effectiveness before and after configuration.