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
2. You can open UDP port with
iptables -A INPUT -p udp –sport
3 service iptables save
and for flushhing iptables us
- 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