Re: gateway machine
Jason Davies <jason@www1.kc.aoindustries.com> writes:
> I have two Debian boxes and I want one to act as a proxy server for
> the other. I have done this before using mandrake on the
> proxy/gateway machine but I'm not sure how to do it now that I've
> installed Debian. What configuration do I need to change? They both
> ping each other fine, but one can't access external addresses
> through the other.
You've to set up IP Masquerading. Have a look at the IP Masquerading
Howto and the ipchains (Linux 2.2)/iptables (Linux 2.4)
documentation. Basically, you just have to set up some rules and tell
the one host that the other one is it's gateway (via
/etc/network/interfaces)...
hth,
moritz
--
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199
Reply to: