In my environment I have a few web services that are exposed to the internet with an nginx reverse proxy. Moreover, for some of these nginx does a port translation (es. internal 8080 -> public 80). We also have a few of internal services that from LAN need to contact the reverse proxyed ones: what is the best practice to accomplish this? Here is what I thought:
- Create a fake DNS zone in our internal DNS, so if an internal services contacts publicservice1.example.com is redirected directly to nginx DMZ IP
- Do not touch anything, but the traffic loops out and in our network (LAN-> Internet (public IP) -> nginx reverse proxy in DMZ )