Answer the question
In order to leave comments, you need to log in
Apache - redirect request and return response to client?
Good afternoon. I can't figure it out on my own, please help. Input data:
1. A large local network isolated from the Internet, with different subnets, routes and NAT
2. A "server" is located on the network 192.168.4.0/24. One real Windows 2012R2 with ip: 192.168.4.10, another server is virtualized on first Virtualbox with IP: 192.168.4.11, CentOS.
3. On 192.168.4.10, apache is raised, and a self-written python web application is running, and the virtual one (192.168.4.11) acts only as a server with geographic maps (postgres, mapnik, leaflet, apache, and so on)
4. When the client accesses the web service (192.168.4.10), the client is given a map with plotted points, data on points and calculations is provided by a python script, and naturally, the page given to the client contains links to the map server - 192.168.4.11. The client starts browsing the map and the map titles are sent to him, which are again transmitted to him from the server 192.168.4.11. In this way, the client interacts with two servers.
5. How to make the client receive and send data only through 192.168.4.10. So that there was no need to give access to the client to the 4.0/24 subnet to extra machines, leaving only the server for access - 192.168.4.10
6. Now the network administrator is forced to additionally prescribe permissions for each client to contact 192.168.4.11, this is inconvenient, friction arises. Since it is planned to deploy several more loaded virtual servers, and again it will be necessary to register access to them.
What settings should I tweak in Apache on 192.168.4.10 so that it proxy (receive and return) map requests to 192.168.4.11?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question