On Tue, Jan 13, 2004 at 11:04:02AM -0500, Albert Rybalkin wrote:
> What I want to use is some sort of pf rule
> that would force certain outgoing packets (based on
> filtering criteria) to have their source address set
> to dhcp-leased address, i.e. something like "(fxp0:0)". 
> 
> Right now when these packets are sent, they have
> a source address == alias address of fxp0 which is
> no good. 

  i did something that might be like what you're talking
  about for a dialup "backup" that would not destroy
  my default route.

  it was real ugly and had an asymmetric routing sideeffect
  in the way i implemented it; and then i stopped working
  on it because of moving over to other things.

  there was a nat on the external interface -> my dialup
  interface ( thus changing the src IP ), and then a pass
  out on the external routing to the dialup interface...

  i could wipe the dust off that project if it seems it is
  close to what you are looking for?

  jared

-- 

[ openbsd 3.4 GENERIC ( jan 5 ) // i386 ]

Reply via email to