Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ufw --force disable
- ufw --force reset
- ufw logging on
- ufw default deny outgoing
- ufw default deny incoming
- ufw allow out from any to any
- ufw allow in from any to any
- ufw deny from any to any port 22
- ufw allow from 192.168.2.150 to any port 22
- ufw --force enable
Advertisement
Add Comment
Please, Sign In to add comment