Forum Discussion
Micha__Iwaszko_
Nimbostratus
Jan 27, 2009DMZ design/configuration problem
Hello. I have a design/configuration problem with mail servers in a DMZ, using LTMs for load balancing SMTP/HTTP connections. For example:
1. There's a network, 192.168.0.0/24 that's terminated on a firewall with an address 192.168.0.1 (being the default gateway for all devices in that network).
2. I have two SMTP servers and a pair of LTMs (whatever addresses, for now it doesn't really matter).
3. SMTP connections from the internet are going to the Virtual Server on the LTM pair and then go to the SMTP servers without being SNATed.
4. SMTP servers need to download updates, but can't use a proxy server for it.
And the question is, how to manage all of this with my LTM pair? According to point 3 I need to have a default route on the SMTP servers for the LTM (Floating address? VS address?), because the firewall will not pass the traffic (the connection was made to the VS and that's what the firewall would like to see). But according to point 4 I need to pass the traffic to the internet somehow... So, is there a way to make LTMs work as a simple router for this HTTP traffic, keeping in mind the default gateway address, that has to be set for something "on" the LTMs for the point 3 to work? Or maybe some other way?
- JRahm
Admin
This drawing is typical for a DMZ where the DMZ servers need outbound access and are not just responding to requests. The firewalls will need to be configured to permit the traffic sourced in the DMZ, and not all DMZ policy supports this, so if you are not responsible for the security devices as well, the discussion will need to take place. - Micha__Iwaszko_
Nimbostratus
I have an another DMZ, that looks very similar to that on the drawing and it's working, but in this one, I don't have two networks and the LTMs have their interfaces in the same network as everything else. And I still want this to work :-) - JRahm
Admin
ah, so smtp servers are in same network as firewall and LTM "outside" interfaces? Well, you're going to have to snat in this case, unless you want to do npath routing. Details: - Micha__Iwaszko_
Nimbostratus
It's not exactly what I would like to achieve, because of the firewall that terminates this network. Therefore the return packet of the SMTP connection cannot bypass the LTM, but at the same time, the packet originating from the SMTP servers has to omit the LTM SNAT/LB processes and simply be routed on a L3 basis to the LTMs default gateway. Is that possible? - JRahm
Admin
The LTM is a default deny device, you must have a virtual server to forward traffic, even if the routing is present in the routing table. If you want the LTM to route the traffic originated from the smtp servers, you need to create a 0.0.0.0/0 network forwarding vip unless you can specify the outbound destinations for updates. - Micha__Iwaszko_
Nimbostratus
citizen_elah, last one thing. Could You please, paste an example for a this 0/0 forwarding vip? I would be grateful. - Micha__Iwaszko_
Nimbostratus
Oh, found that one: http://devcentral.f5.com/default.aspx?tabid=53&view=topic&forumid=5&postid=7986
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects