Skip to content

Instantly share code, notes, and snippets.

@jhowbhz
Created December 29, 2023 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhowbhz/c9f7afc519028d0d155087722184300c to your computer and use it in GitHub Desktop.
Save jhowbhz/c9f7afc519028d0d155087722184300c to your computer and use it in GitHub Desktop.
Liberar firewall SaveIncloud Todas as Portas
# instala persiste
sudo apt-get install iptables-persistent
# lista portas
sudo iptables -L
# libera tudo
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
# persiste as configuracoes
sudo netfilter-persistent save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment