Created
October 18, 2015 16:33
-
-
Save codecakes/30eefaf796eadd00c638 to your computer and use it in GitHub Desktop.
Open a Specific server port to a LAN ip
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
# allow a specific PORT to accept connection from an IP address | |
iptables -I INPUT -p tcp -s <IP> --dport <PORT> -j ACCEPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment