On Sat, Dec 21, 2002 at 04:13:05AM -0800, AcPeE wrote:
> What I would like to know is that technologies should 
> I use so all request seem to originate from one single
> IP address only (One the given to interface eth0 on
> the server by my ISP dynamically)

On the comp with two interfaces, you run:

echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe ipchains
ipchains -I forward --src <IP of second comp> -j MASQ

Set the default gateway of the other comp to this one's eth1.

Thats it.

Of course there are other ways to do it. You can edit your
/etc/sysctl.conf instead of the first step, and use iptables or iproute2
for the remainder.

Binand

-- 
If you found this helpful, please take some time off to rate it:
http://svcs.affero.net/rm.php?r=binand


-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to