On Wed, 2007-11-21 at 14:49 -0800, Tom Eastep wrote: > On Wed, 2007-11-21 at 17:21 -0500, Eric Faden wrote: > > So I have a server hosted at Serverbeach (Debian Etch). This box has an > > IP (eth0) in one subnet (192.168.0.2 netmask 255.255.255.128). I have > > also been granted 3 extra IPs (eth0:0, eth0:1, eth0:2) in another subnet > > (192.168.1.2 through 192.168.1.4 netmask 255.255.255.0). I have read > > through the Aliased IP docs, but still can't seem to get it to work. My > > goal is to have EACH of the IPs be able to be able controlled (e.g. I > > would like each IP to have its own zone). > > That isn't possible. And besides that, it is meaningless because these > IP addresses are all _inside_ your firewall so they are essential parts > of the firewall zone. The Aliased IP doc is complete -- there are no > other undocumented silly things you can do with multiple IP addresses on > a single interface.
I guess it makes sense in a way. You want a zone that is defined as "all
external hosts that communicate through a particular firewall interface
using a particular address on that interface". You are not the first to
want to do something like that so it may be something to consider for
Shorewall 4.2.
It would require some sort of magic in the hosts file such as:
net0 eth0:0.0.0.0/0 address=<local ip address>, ...
I'll see what I can come up with.
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ [EMAIL PROTECTED]
PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
