If
you want to open an incoming TCP port, type the following in the SSH as root user:
#
iptables -I INPUT -p tcp --dport 12345 --syn -j ACCEPT
# service iptables save
If you want to open an incoming UDP port, type the following in the SSH as root user:
#
iptables -I INPUT -p udp --dport 12345 -j ACCEPT
#
service iptables save
No comments:
Post a Comment