[CentOS] Inquiry:iptables ?

Larry Ivan Brower larry-lists at maxqe.com
Sat Oct 31 09:10:37 UTC 2009

iptables -I INPUT -s -p tcp --dport 5901 -j ACCEPT 

I'm going strictly off memoy here so you may need to man iptables. :)

hadi motamedi <motamedi24 at gmail.com> wrote:

>Dear All
>To open a port , I know that I need to go to "System -> Administration ->
>Security Level and Firewall" -> Other ports and then I can open port-5901 as
>tcp protocol . Can you please do me favor and let me know how it can be done
>from the command line (if my CentOS is text-mode installed) ? (perhaps via
>Let me thank you in advance
>CentOS mailing list
>CentOS at centos.org

More information about the CentOS mailing list