Apache Redirection from DMZ to LAN


i want to redirect some of the http connections coming from internet to our apache server located  in our DMZ to the app server - running under apache/php- located in our LAN. our firewall rules do not allow direct http connections from internet to our corporate LAN; I do not want to change these rules.

I found the below solution which seems to be responding to my expectations.


My query is;  would this solution cause security holes to the app server in LAN or even to the entire LAN  ??

Thank you

Who is Participating?
ahoffmannConnect With a Mentor Commented:
> .. cause security holes to the app server in LAN ..
this server in LAN then is subject to all web application security threats the same way as it would be in the DMZ
you have to enshure that your web/application server and all their applications are hardend.
The only advantage you have is that the servers ar protected on network level.

> .. or even to the entire LAN
depends on your OS and applications on the server
If your applications are vulnerable to SQL and/or OS command injection, then your LAN could be compromised too.
macker-Connect With a Mentor Commented:
Realistically, the DMZ is there for a reason; any servers that are facing the outside world are in a protected segment, where they cannot reach internal servers.  You're talking about bridging that gap, effectively punching a hole in a security wall.

Yes, you can do it, but take ahoffman's advice to heart.  If the internal LAN server is in any way vulnerable to HTTP-based attacks that are being forwarded, it can be leveraged against the rest of your LAN, depending on what the attack can achieve.  Generally speaking, it's best to leave such interaction to levels where the input is carefully controlled... e.g. querying an SQL database thru a specific account, such that the only data that could ever be compromised will not affect the rest of the operations on your LAN.
tgunduzAuthor Commented:
thank you guys !!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.