Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: arne on October 13, 2007, 05:59:17 PM
-
When trying to develop a contrib for an improved and flexible firewall control I have the problem that any time I do anything from the server-manager panel that affect the firewall setting the firewall locs so that I loose the connection. Its not a big problem because this can be easy resat from console, but I like to look into this problem, to improve things a little bit.
So the question is:
Which script(s) does alter the firewall setting from server-manager panel ?
-
Many, many of them do as well as many database settings. If you want to disable masq, try the following:
config setprop masq status disabled
signal-event post-upgrade
signal-event reboot
-
Thanks a lot ! :-) :-) :-)
It looks like it is working, and if it really does, this will be really fantastic.
This should eventually mean that the sme server can be set up with any firewall combination, network adapters etc.
I will now try to make a framwork for a 1, 2 snd 3 port firewall arrangement, revision zero, based on configuration scripts. The next step after that will be to try to make a simple web interface to genereate variants of those configuration scripts "on the fly", from web.
*******
It works and works, I can set the firewall to anything I want to, on all 3 network segments. I can reboot it and it comes up with the new configuration perfectly working as default (configured from /etc/rc.d/rc.local ).. Great !