On Saturday 31 October 2009 08:27:49 hadi motamedi wrote: > Thank you for your reply . But it is returned "No such file" for > /etc/sysconfig/iptables . Can you please correct me ? > Thank you in advance > Is iptables installed rpm -qa | grep iptables Tony > On Sat, Oct 31, 2009 at 8:10 AM, Tony Molloy <tony.molloy at ul.ie> wrote: > > On Saturday 31 October 2009 07:48:05 hadi motamedi 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 > > > > Edit /etc/sysconfig/iptables > > > > Restart iptables with service iptables restart > > > > Tony > > -- > > > > Dept. of Comp. Sci. > > University of Limerick. > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > http://lists.centos.org/mailman/listinfo/centos -- Dept. of Comp. Sci. University of Limerick.