Koozali.org: home of the SME Server

How to reconfigure the firewall ?

Offline arne

  • *****
  • 1,116
  • +0/-4
How to reconfigure the firewall ?
« 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.
......

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: How to reconfigure the firewall ?
« Reply #1 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
............

Offline arne

  • *****
  • 1,116
  • +0/-4
How to reconfigure the firewall ?
« Reply #2 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.
......