Hello,
On Jun 3, David Lang wrote
> for each web site do the following:
> setup the alias
>
> ifconfig eth0:2 200.200.200.2
You don't need that Aliasdevice, it's enough (much better) to use Proxy Arp
with the following single command:
arp -s 200.200.200.0 xx:xx:xx:xx:xx netmask 255.255.255.0 pub
(with xx:xx:xx:xx:xx:xx beeing the ethernet address of your network card).
> setup an input firewall filter (I created a file rc.fw that I run after
> rc.inet1)
instead you can use a modified transproxy or netcat.. humm.. will look into
this.
I think with iproute and 2.1 kernels you can do the same thing:
iproute addrule to 200.200.200 nat 100.100.100
Greetings
Bernd
--
(OO) -- Bernd_Eckenfels @
Wittumstrasse13 .
76646Bruchsal .
de --
( .. ) ecki @
{inka .
de,linux.de,debian.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD eckes @
irc +4972573817 BE5-RIPE
(O____O) If privacy is outlawed only Outlaws have privacy
References:
|
|