Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Michiel on February 04, 2003, 02:24:00 PM

Title: Restarting firewall in V5.6
Post by: Michiel on February 04, 2003, 02:24:00 PM
Hi,

What is the correct way to reload the firewall rules in SME 5.6? When I issue "/etc/rc.d/init.d/masq restart" I get all kinds of nasty error messages:

>>> SNIP <<<
Shutting down IP masquerade and firewall rules:      Done!

Enabling IP masquerading: /etc/init.d/masq: /usr/sbin/ipmasqadm: No such file or directory
modprobe: Can't locate module ip_masq_portfw
/etc/init.d/masq: /sbin/ipchains: No such file or directory
/etc/init.d/masq: /sbin/ipchains: No such file or directory
done
>>> SNIP <<<

After rebooting everything works as expected, but there should be a more elegant way, I suppose.

Regards,
Michiel
Title: Re: Restarting firewall in V5.6
Post by: Jérome on February 04, 2003, 03:17:41 PM
I think you have some old contribs using ipchains instead of iptable.
Ipchains is for 2.2.X kernels and iptable is for 2.4.X kernels.

Check out your ipforward contribs.

Bye.

Jérome
Title: Re: Restarting firewall in V5.6
Post by: Michiel on February 04, 2003, 03:36:01 PM
> I think you have some old contribs using ipchains instead of
> iptable.

You're right. The dmc-mitel-portopening and dmc-mitel-portforward contributions dont seem to know about iptables. I should have known better...

Thanks,
Michiel