Hi, I applied a set of iptables rules and started iptables without any trouble. But after i edited the rules and restarting it, it gives me "Applying iptables firewall rules: iptables-restore: line 35 failed". I looked into /etc/sysconfig/ for the mentioned file and it was not found. I did a quick check and locate only found /sbin/iptables-restore. I had done updatedb before using locate. Any ideas? thanks
On 13/06/2007, at 8:59 AM, CentOS List wrote:> I applied a set of iptables rules and started iptables without any > trouble. But after i edited the rules and restarting it, it gives > me "Applying iptables firewall rules: iptables-restore: line 35 > failed". I looked into /etc/sysconfig/ for the mentioned file and > it was not found. I did a quick check and locate only found /sbin/ > iptables-restore. I had done updatedb before using locate.All your firewall rules are in the file: /etc/sysconfig/iptables. Check on line 35 of that file. -- Steven Haigh Email: netwiz at crc.id.au Web: http://www.crc.id.au Phone: (03) 9017 0597 - 0404 087 474
Around 11:59pm on Tuesday, June 12, 2007 (UK time), CentOS List scrawled:> Hi, > > I applied a set of iptables rules and started iptables without any trouble. > But after i edited the rules and restarting it, it gives me "Applying > iptables firewall rules: iptables-restore: line 35 failed". I looked into > /etc/sysconfig/ for the mentioned file and it was not found. I did a quick > check and locate only found /sbin/iptables-restore. I had done updatedb > before using locate. > > Any ideas?What is line 35 of /etc/sysconfig/iptables? Steve -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070613/3d009872/attachment-0001.sig>