[wplug] questions about firewall

Bill Moran wmoran at potentialtech.com
Sat Dec 8 11:14:05 EST 2001


Romano, Christopher wrote:
> Everything that I have read has eth1 with an internal IP address and eth0
> with a public IP address.  I use Verizon DSL and my connection is through
> ppp0.  So ppp0 has the external IP and both my ethN have internal.  When I
> set up my rules do I just use the two internal because they are my ethernet
> cards?  I know that I have going to have to mask everything to go through my
> ppp connection.  I am going to be using IPTables.

Why do you have two eth cards internally?  The first thing you may want to
consider is "Do I need two eth cards".  You may be making things unnecessarily
complicated.
If you only have the ppp interface and one eth interface, then what you do is
just replace eth0 with ppp0 in those tutorials and eth1 with eth0.
If you need both internal interfaces, then your changes are still not that complicated:
you'll need to use the rules the tutorials tell you to apply to eth0 on ppp0,
and the rules the tutorials tell you to apply to eth1 on _both_ internal
interfaces.

Good luck.

-- 
Bill Moran
Potential Technology
http://www.potentialtech.com




More information about the wplug mailing list