Re: VNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2013-10-11 at 15:18 -0600, Larry Martell wrote:
> I'm trying to set up a VNC server using the instructions at
> http://www.techrepublic.com/blog/linux-and-open-source/linux-101-easy-vnc-server-setup/
> .
> 
> I am up to step 6:
> 
> Step 6: Edit iptables
> 
> In order for the VNC connections to get through, you must allow them with
> iptables. To do this, open up the file /etc/sysconfig/iptables and add the
> line:
> 
> -A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports
> 5901:5903,6001:6003 -j ACCEPT
> 
> Save the file and restart iptables with the command:
> 
> service iptables restart
> 
> When I issue the restart command I get:
> 
> iptables: Applying firewall rules: iptables-restore: line 1 failed
>                                                            [FAILED]
> 
> Note that I did not have an iptables file before but there is
> an iptables-config file.
> 
> Can someone help me complete this configuration.
> 
> Thanks!
> -larry
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

Can you post the content of the file, I just edit the config file and I
didn't get any errors when I issue the command 

$ sudo /sbin/service iptables restart

-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux