[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to redirect web traffic to different server
> I have a OBSD gateway, and server OBSD machine running
> in the local network, I want the gateway redirect
> different web access to different server.
> For example, I want all access to
> http://myserver.org/tech to OBSD machine A in local
> network, all other access to machine B in local
> How can I setup my gateway to do this job? or do I
> need some software? I only have installed the base
> system without X.
You need an http proxy, i guess the easiest way would be to use apache
with mod_proxy (configured as a reverse proxy). You can do this on your
gateway or redirect all webtrafic to machine A or B (using pf) and do
the proxy/relaying there.
I think this is off-topic btw (not really openbsd related).