A
A
Alexander Ananiev2012-08-11 15:49:03
Computer networks
Alexander Ananiev, 2012-08-11 15:49:03

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

5 answer(s)
V
Vladimir Dubrovin, 2012-08-11
@z3apa3a

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.

J
jov, 2012-08-11
@jov

There is nginx in the OpenWRT repositories, nothing prevents you from using it as a reverse proxy.

A
Alexey Huseynov, 2012-08-11
@kibergus

This is called a proxy. For example lighttpd in proxy mode.
For this task, you need to parse the http protocol

N
Nikolai Turnaviotov, 2012-08-11
@foxmuldercp

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

U
ur3ckr, 2012-08-11
@ur3ckr

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 question

Ask a Question

731 491 924 answers to any question