[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: http forwarding to local subnet



Thus spake Shandar Ahmad (shanbits@yahoo.com):

> I have my Debian server with two NIC's, one on the
> internet and the other on the local subnet
> (ip's:202.184.x.y and 10.0.0.100). There are other
> debian boxes on the local subnet. Now I want that any
> http request submitted via eth0 be automatically
> directed to my other local box (at 10.0.0.1 or
> 10.0.0.2) via eth1.
> Is there a simple way of doing it?

I see two ways to do this. The first would be to install netcat as a
proxy which can do the job AFAIR. The other way is a little bit more
complicated but you can use ipchains and ipmasqadm to solve your
problem.

Greetings Olaf



Reply to: