ufw
Uncomplicated firewall
- Install
- Add a rule denying all incoming traffic - works on outgoing as well
- Check status
- Reload added rules
- Delete rule (sudo ufw status numbered)
- Allow example tcp port
- Allow range of ports
- Allow incoming traffic from IP
- Deny ports
Check: