Hi all,

I have two PPP interfaces on my machine which have different purposes
and therefore need to have different pf rules associated with them.

In my pf.conf, I have rules that are specified based on ppp interface
names (ppp0, ppp1). With pppd in linux I can force a specific interfaces
to be used by specifying

unit n

in my /etc/ppp/options or simmilar; there doesn't appear to be an
equivalent option in OpenBSD pppd. 

I have found (through experimentation) that pppd will always use unused
ppp device with the highest number -- if ppp0 and ppp1 are created, but
not up, then establishing a new connection will use ppp1 rather than
ppp0.  I can use this to some extent, but I would like the two PPP links
to be able to go up and down independently of eachother and always get
back the same ppp interface.

Presumably there is another way to achieve this -- can someone point me
in the right direction?


Thanks,

Nick

Reply via email to