Re: which outgoing device
On Mon, 3 Jun 2002, Bernd Eckenfels wrote:
> On Mon, Jun 03, 2002 at 07:18:02AM +0200, Oliver Epper wrote:
> > After starting the pppd I have the device ppp0, of course.
> > My question is should I consider ppp0, or eth1 as the outgoing device
> > for my iptables firewall/masquerading setup ?
> Your actual content is sent over the ppp device, this is where your
> outgoing rules are concerned. But you also need to block all data
> from/to eth1 besides the pppoe packets.
Could you explain why (and how) you would block all but pppoe packets on
the eth1 device? For example, if I run ethereal on eth1, I see all the
pppoe packets *and* the packets to/from the ppp0 device.
Nick Busigin email@example.com
Visit Our Indie Jazz CD Construction Project!
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com