Last active
August 29, 2015 14:01
-
-
Save shamim71/52e1b09f55f22edfc5f0 to your computer and use it in GitHub Desktop.
Opening port in Linux
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
Opening port in Linux | |
iptables -I INPUT 5 -i eth0 -p tcp --dport 8080 -m state --state NEW,ESTABLISHED -j ACCEPT | |
service iptables save | |
service iptables restart | |
iptables --line -vnL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment