Koozali.org: home of the SME Server

firewall GUI

Offline jonaskellens

  • *
  • 5
  • +0/-0
firewall GUI
« on: August 12, 2009, 11:19:18 AM »
Like with Endian Firewall, is there a GUI to define and control the outgoing and incoming traffic, based on IP-address / IP-range or portnumber / port-range ??

As an alternative, can one install CSF/LFD onto the SMEserver ??

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: firewall GUI
« Reply #1 on: August 12, 2009, 11:30:32 AM »
hi

you don't need any gui to manage firewall rules on SME because they are dinamically generated.

for this reason you can't install any gui/utility, because it will break your server.

I strongly suggest you to search in the forums for more info: this question (and, generally, firewall management) has been posted many times.

if you want to know how firewalling works on SME, please read the documentation.

btw, SME is a firewall but packet filtering is not its main target.. if you really need a more configurable firewall, you can use any distro/appliance in front of your SME

hth
ciao
Stefano

Offline jonaskellens

  • *
  • 5
  • +0/-0
Re: firewall GUI
« Reply #2 on: August 12, 2009, 02:04:35 PM »
Is it then possible to "extract" the firewall-function from SMEserver so it no longer edits the iptables-file ? When SMEserver no longer edits iptables, then another program may. Then there are no conflicts.

As SMEserver is built in a modular way, is then possible to "extract" the firewall-module ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: firewall GUI
« Reply #3 on: August 12, 2009, 02:22:02 PM »
hi

the short answer: no
the long one: every time you enable/disable a service via server-manager or db command, firewall rules are automagically adapted..

so, no, it's not possible to extract the firewall module/functionality

I repeat, search the forums.. there are many 3ads about this topic..

Ciao
Stefano

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: firewall GUI
« Reply #4 on: August 12, 2009, 08:22:47 PM »
Like with Endian Firewall, is there a GUI to define and control the outgoing and incoming traffic, based on IP-address / IP-range or portnumber / port-range ??

SME does not block or restrict outgoing traffic, but does force mail (SMTP) to be proxied through the local MTA and web access (HTTP) through the local squid proxy.

Incoming traffic is restricted by server-manager access settings for the various services (e.g. imap/pop/imaps/imap). Most incoming traffic is dropped.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: firewall GUI
« Reply #5 on: August 13, 2009, 04:43:54 PM »
jonaskellens

There is no seperate firewall specific GUI and it is recommended that you do not install any additional GUI control panels.
Firewall control is integrated into server manager GUI.
As you enable & disable services etc, then appropriate ports are opened or closed.

You can do more specific control with db commands and custom templates using the tips indicated in the Firewall FAQ
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Firewall

Please understand that the Firewall functionality is tightly integrated into the design of sme server and if you "wipe out" all firewall iptables rules you are likely to create a serious mess and an insecure server unless you really really know what you are doing.

It will be much better for you to learn to use sme server "as is" and limit your manipulation of the firewall to the tips shown in the FAQ.

Note there is also a port opening and forwarding panel in server manager if you have specific requirements for port management.

For more sophisticated control of the firewall, you will be better off putting a seperate firewall in front of sme server and changing sme to server only mode.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.