Skip to content

Instantly share code, notes, and snippets.

@toodooleedoo
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save toodooleedoo/edf22b1ab125389c5011 to your computer and use it in GitHub Desktop.
Save toodooleedoo/edf22b1ab125389c5011 to your computer and use it in GitHub Desktop.
#Linux Update Firewall / IPtables
sudo vi /etc/sysconfig/iptables
Eg opening port
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8118 -j ACCEPT
sudo service iptables restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment