Koozali.org: home of the SME Server

DMZ with SME. Secure?

cydonia

DMZ with SME. Secure?
« on: November 25, 2004, 03:05:25 AM »
I have done a bit of searching, but found nothing definitive.

I have just bought a new modem which supports DMZ, and am thinking about just putting my SME server into Server Only mode, and using DMZ from the modem to open it up to the net.

I use my server mainly for the following;

- File Server
- Private Web Server
- Public Web Server
- VoIP


Would this pose a major security threat to use DMZ like that?  I would prefer not to have to bring another device into the equation in the form of a firewall between the modem and the server, but if it has to be done, it has to be done...


Thanks.
Tristan

Offline Boris

  • *
  • 783
  • +0/-0
DMZ with SME. Secure?
« Reply #1 on: November 26, 2004, 08:40:50 AM »
Verify what DMZ is in the modem (I assume DSL router-gateway with some firewall features) definition is. Most residential routers call DMZ as "host where ALL the packets go, unless forwarded otherwise".
It is not secure.
If you can close ALL the traffic to DMZ and then open different ports from LAN and from Internet, then its worth looking into.
...

mbachmann

DMZ with SME. Secure?
« Reply #2 on: November 26, 2004, 01:17:44 PM »
DMZ is often confused with "exposed host". A DMZ is usually seperated from the internet through a packet filter and from the LAN through a second packet filter.

internet - packet filter - DMZ - packet filter - Lan.

I think the SME firewall/packetfilter is much better than some Router firewall. So what's the real purpose of putting the SME in a DMZ?

cydonia

DMZ with SME. Secure?
« Reply #3 on: November 26, 2004, 06:45:29 PM »
Well, DMZ was the recommendation of the a guy in the computer shop.

But, it ended up being easier to just keep the server as server-gateway, and put the modem into bridge mode.

DMZ would have just been another thing i had to worry about when configuring external access for VoIP, HTTP etc...

Thanks for the advice anyway:)

Offline MSmith

  • *
  • 675
  • +0/-0
Don't expose box in "Server Only" mode to Internet
« Reply #4 on: November 27, 2004, 04:34:05 PM »
Because "Server Only" is designed to be used WITHIN a LAN.  If your "DMZ" is truly "exposed host" you will have the entire Internet as your LAN and all SME's protections will be for naught.
...

ryan

DMZ with SME. Secure?
« Reply #5 on: December 05, 2004, 07:25:04 AM »
I use DMZ on IPCop and connect my SME external nic to this DMZ.  I do this for sites that have only a single public internet IP available.  Check out www.ipcop.org.  This is secure as IPcop will only pass ports you open to a specific IP address on the DMZ.  With this setup, your LAN has 2 internet gateways, the SME and IPCOP LAN addresses.  Make sure you don't have both running dhcp!!!!

ryan

Offline Boris

  • *
  • 783
  • +0/-0
DMZ with SME. Secure?
« Reply #6 on: December 05, 2004, 10:10:42 PM »
IPCop is a "real" firewall and it defines DMZ as "Protected but partialy available from Internet network, separate from the Internal LAN"
Residential router-firewall-gateways is very different and DMZ has an opposite meaning for most of them.
...

lajgaard

DMZ with SME. Secure?
« Reply #7 on: December 07, 2004, 03:19:01 PM »
I am moving to a new location and are thinking of changing my setup.

At the moment my SME act as server-gateway and is connected directly to the internet on the WAN nic. while handling my local network on the LAN nic.

In the new setup I am adding a voip adapter, that needs to get priority over all other traffic. I am also thinking about adding wireless capabilities to the setup. That gives me a few problems, which you might be able to help me with.

The best solution for the voip adapter and wireless lan is to buy a wireless router with QoS capabilities like the Linksys WRT54G. But That leaves a problem with my server. I have heard that a having a dhcp server within a dhcp server might not be a good idea.

On the other hand it would be a bad idea to have a wireless AP within the server because of the security risk.

Can any of you see a solution to this setup problem?

/Carsten

ryan

DMZ with SME. Secure?
« Reply #8 on: December 07, 2004, 03:26:16 PM »
IPCop 1.4.1 has traffic priority for voip or other traffic you define.  It also has a 'blue' wireless zone which is another 'green' lan.  There are four zones:  red (internet), organge (DMZ), green (LAN), blue (WiFi LAN).

If your researching, look at monowall firewall as well.  

ryan

lajgaard

DMZ with SME. Secure?
« Reply #9 on: December 08, 2004, 09:13:33 PM »
Thank you for your replay Ryan. I have looked on your suggestions and are impressed by the diversity these distrobutions offer. However I don't think IPCop can satisfy my needs on QoS since it is restricted to port numbers. Monowall is much more prommesing and I will keep a close look on it development.

Bu maybe I should post a suggestion for adding the functionaleties to SME. Support for an ekstra NIC and QoS would improve the functionaleties of the distro and update it to more resent demands. I am sure I am not the only one adding wireless lan and Voip to my network at home.