[CentOS] Inquiry:iptables ?

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

iptables -I INPUT -s 0.0.0.0/0 -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
>iptables?)
>Let me thank you in advance
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos