Hello Friends,
Following are the commands to open tcp or udp ports on the server.
Before using commands for opening the port please make sure the specific port is already opend and what is the use of that port.
netstat -nap | grep :
1.you can open TCp port with
iptables -A INPUT -p tcp –dport
-j ACCEPT
2. You can open UDP port with
iptables -A INPUT -p udp –sport
-j ACCEPT
after that
3 service iptables save
and for flushhing iptables us
iptables -F
Latest posts by Tuks (see all)
- PHP Parse error: syntax error, unexpected T_STRING - October 13, 2008
- apache error error : [notice] child pid x exit signal File size limit exceeded (25.) - October 13, 2008
- Currently not permitted to relay through this server (email error) - January 3, 2007
1 Comments