Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: arne on September 19, 2005, 01:02:25 AM

Title: How to reconfigure the firewall ?
Post by: arne on September 19, 2005, 01:02:25 AM
Hello !

I try to make some modifications on a SME 7.0 Beta 2 so it can run with 3,4 or 5 network cards. (Cabeled lan, wireless lan, dmz/aditional servers, ip telephone, and so on, as required and with firewalls between those security zones)

The way I do it until now is rather "bad" even though it looks like it's working. I just wipe out the "old" firewall on a sme server gateway and replace it with a new firewall using a firewall script.

I think it might be a bether idea to modify the existing firewall (and nic configurations) "the right sme server way". Trying to do that, I have looked around to find some templates or something like that, that sets up the orginal firewall, but I can not find it.

Anybody who knows where the orginal firewall configuration files are ?

Best reg Arne.
Title: Re: How to reconfigure the firewall ?
Post by: gordonr on September 19, 2005, 02:54:24 AM
Quote from: "arne"

Anybody who knows where the orginal firewall configuration files are ?


I think this is best discussed on the developer's list, or at least the "Experienced Users Forum". Anyway the firewall is configured by /etc/rc.d/init.d/masq, and that file is generated by the templates in /etc/e-smith/templates/etc/rc.d/init.d/masq

The best place to make changes is to copies of the template files. I suggest following up to devinfo
Title: How to reconfigure the firewall ?
Post by: arne on September 20, 2005, 03:38:53 PM
Thanks a lot for the anwer ! I have found the config file and the directory with the template fragments on my 7.0 beta.