Answer the question
In order to leave comments, you need to log in
Is there a router that can redirect requests from the outside to different web servers on the local network?
Let's say there are several web servers in the local network. The local network has access to the Internet through a router. If I register several domains (for example, through DynDns) and I want a specific domain name to have access to a specific web server on the local network. Is there a router that can forward such requests? Or a router with alternative firmware?
Answer the question
In order to leave comments, you need to log in
These are not router functions. At a professional level, content switch performs similar functions at the hardware level, but, apparently, the usual reverse proxy is enough for you. If I were you, I would configure the router to forward port 80 to a reverse proxy on the internal network using the router's NAT. As a reverse proxy, you can use, for example, nginx.
It is possible to put a reverse proxy on popular linux-based routers, but the performance will be extremely low, because. requests will be processed by the processor, which is weak in such devices. Similar functions can be performed by 3proxy, there are builds for ARP / MIPS, but once again - it makes sense to use such a solution only if an extremely small load is expected, by no means in production.
There is nginx in the OpenWRT repositories, nothing prevents you from using it as a reverse proxy.
This is called a proxy. For example lighttpd in proxy mode.
For this task, you need to parse the http protocol
And there is such a thing as load balancing, yeah. It may suit you as an internal balancer, when the proxy sequentially accesses different servers for several dns records
Perhaps I misunderstood the essence of the issue, but for example, I have two different web servers at home on two computers. Domain registered on dyndns. In order for me to get to the right server, I use port forwarding on the router:
xxx.dyndns.org:81 --> 192.168.1.10:80
xxx.dyndns.org:82 -- > 192.168.1.10:80 Enough
for home purposes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question