Last active
August 29, 2015 14:14
-
-
Save toodooleedoo/edf22b1ab125389c5011 to your computer and use it in GitHub Desktop.
#Linux Update Firewall / IPtables
This file contains 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 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