Friday, May 13, 2011

open a port in linux


Follow the command given below :-


*******************

How to open port 21 in iptables ::

-------------------------

root@fs8 [/home]# iptables -I INPUT -p tcp -i eth0 --dport 2222 -j ACCEPT

*******************

No comments:

Post a Comment