Comments

Tags Cloud

There are no tagged articles!

+ All tags

User Rating: / 0
PoorBest 

Server management - Vps and dedicated

To open a port is very simple, logged in as root do this.
iptables -A INPUT -p udp -m udp --dport PORT -m state --state NEW -j ACCEPT
Where i have written PORT this is the port number you want opened
This example is when opening a sensitive port such as ssh, for security you can have only your IP address access it.
iptables -A INPUT -s YOURIPHERE -p tcp -m tcp --dport PORT -m state --state NEW -j ACCEPT
YOURIPHERE = your ip address
PORT = port you want opened

Add your comment

Your name:
Your email:
Subject:
Comment: