On Wed, Nov 21, 2007 at 11:44:13PM -0500, Eric Faden wrote:
> Thanks for the replies.  I suppose my main justification for it was to 
> treat each of the interfaces completely independently to allow for 
> individual control to ports by IP, which I understand is a little odd 
> and I'm not even sure it makes sense.

It's certainly a very strange thing to do. Without knowing why you're
doing this it's hard to be sure, but you might be trying to use NAT to
solve a problem that should be solved with routing.

The basic problem with what you're attempting is that it's insecure in
the general case: there's no guarantee that the hosts connected to
this interface will send packets stamped with one IP address and not
another, so using different filtering rules for them doesn't really
accomplish anything. In the case where you control the hosts, you
would want to be using 802.1q VLANs instead, in which case you'll get
the behaviour you want from shorewall.

If you told us why you're doing all this, we might come up with some
more ideas.

-------------------------------------------------------------------------
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

Reply via email to