Date sent: Sun, 04 Apr 1999 19:56:08 -0500
To: "Christoph Haberberger" <[EMAIL PROTECTED]>
From: "Mikkel L. Ellertson" <[EMAIL PROTECTED]>
Subject: Re: multiple masquerading (iproute2, ipchains, etc.) ARGH!!
Copies to: [EMAIL PROTECTED]
> It sounds like what you are after is ip aliasing, as well as ip masquarding.
> Set it up so that your link to the internet looks like 3 diferent interfaces,
> and set up the rules so that stuff from 192.168.1.0/24 goes to someting like
> eth0:0, 192.168.2.0/24 goes to eth0:1, ect. I am not sure of the format for
> ipchains, but for ipfwadm you would do something like
>
> ipfwadm -F -a masquerad -S 192.168.1.0/24 -V 60.10.20.51
> ipfwadm -F -a masquerad -S 192.168.2.0/24 -V 60.10.20.52
> ipfwadm -F -a masquerad -S 192.168.3.0/24 -V 60.10.20.53
>
> or
>
> ipfwadm -F -a masquerad -S 192.168.1.0/24 -W eth0:0
> ipfwadm -F -a masquerad -S 192.168.2.0/24 -W eth0:1
> ipfwadm -F -a masquerad -S 192.168.3.0/24 -W eth0:2
>
> I hope this gets you pointed in the right direction... Someone
> with more experence with firewalls then me should be able to give
> you the right format...
>
I am using Kernel 2.2 and IPChains and I tried this configuration as
first. It's not working :(
Paul Russel said, it's because the routing must be set up correct and
then IPChains masqs like the routing table, but that doesn't work,
either (tried with IPROUTE2).
Regards,
Christoph.
[EMAIL PROTECTED]
Vienna/Austria.
MfG
DER Christoph.
---
eMail: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]