Last active
October 16, 2019 09:47
-
-
Save sailfish009/5926d3f33c6e96b11569091fd104b332 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ufw default deny outgoing | |
sudo ufw allow out to any port 80 | |
sudo ufw allow out to any port 443 | |
sudo ufw allow out to any port 53 | |
sudo ufw reload | |
sudo ufw status numbered | |
# sudo ufw delete 2 | |
# pasv_enable=Yes | |
# pasv_min_port=10100 | |
# pasv_max_port=10110 | |
sudo ufw allow from any to any proto tcp port 10100:10110 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment