OpenWrt Forum Archive

Topic: http host forward

The content of this topic has been archived on 17 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I installed openwrt on my linksys wrt54gl router and its great..

Is there any way to forward http traffic based on the 'host' header ?

ex: x.myhome.dyndns.org forwarded to 192.168.1.2:80
and y.myhome.dyndns.org forwarded to 192.168.1.3:80

Vikesh

bump

You need to setup a reverse proxy.
Lighttpd, squid and apache seem to support this, but I never used that. You should consult the appropriate documentation for them.

The discussion might have continued from here.