2008/1/20, NetOne - Doichin Dokov <[EMAIL PROTECTED]>:
> You only have one defautl gateway, so the last pppoe session established
> sets it up to it's interface. The behaviour you're observing is
> absolutely normal. You should dig into pf's route-to, packet tagging and
> state-keeping options if you need to ssh back to the machine on both
> interfaces, or do whatever you want _from the machine itself_. There are
> a lot of examples in the net (including one in the PF FAQ if i've not
> mistaken) on what is the proper way of setting up several uplinks as you
> want.
>

Hey, I have read the PF FAQ on route-to and Google several examples
online... I still don't get it...

I am currently just trying to get any packets to pppoe0 (from
outside), no fancy blockings yet...

I've added the following to my pf.conf:

pass out on pppoe1 route-to (pppoe0 pppoe0:peer) \
        from any to pppoe0
pass in  on pppoe1 route-to (pppoe0 pppoe0:peer) \
        from any to pppoe0

And there are no other packet filtering rules for pppoe0 nor pppoe1,
they just had the default pass all.

Is my idea of route-to way out of there?
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Reply via email to