On 09/29/2015 08:27 AM, Jérôme Blion wrote:
> Le 29/09/2015 16:51, Erich Titl a écrit :
>> Hi Folks
>>
>> I have a problem starting shorewall on LEAF BuB 5.2. It shows up when
>> shorewall is trying to restore the iptables rules.
>>
>> Here is the error
>>
>> Preparing iptables-restore input...
>> Running /sbin/iptables-restore ...
>> iptables-restore: line 168 failed
>>     ERROR: iptables-restore Failed. Input is in
>> /var/lib/.iptables-restore-input
>> Processing /etc/shorewall/stop ...
>> Processing /etc/shorewall/tcclear ...
>> Running /sbin/iptables-restore...
>> IPv4 Forwarding Enabled
>> Processing /etc/shorewall/stopped ...
>> Terminated
>>
>> The input file is exactly 168 lines, so the above error appears to
>> indicate a problem with the input file.
>>
>> SALT# wc -l /var/lib/.iptables-restore-input
>> 168 /var/lib/.iptables-restore-input
>>
>> I have a trace file available if needed. It is about 1000 lines long
>> though, so I am reluctant to just post it here.
>>
>> cheers
>>
>> Erich
> 
> Hello,
> 
> Did you try to apply the file generated by Shorewall directly with 
> iptables-restore to see if you have an error message?
> 

Also, look in the system log -- the reason for failure is sometime
logged by the kernel rather than being reported back by iptables-restore.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to