Re: pf divert-to address family

2012-09-14 Thread Ted Unangst
On Fri, Sep 14, 2012 at 09:41, Jérémie Courrèges-Anglas wrote: > Ted Unangst writes: > >> I want something like this rule: >> >> pass in on bge0 proto tcp from any os "OpenBSD" to (bge0) port 222 >> divert-to localhost port ssh > > I'd say > > pass in on bge0 _inet_ proto tcp from any os "OpenBSD"

Re: pf divert-to address family

2012-09-14 Thread Jérémie Courrèges-Anglas
Ted Unangst writes: > I want something like this rule: > > pass in on bge0 proto tcp from any os "OpenBSD" to (bge0) port 222 > divert-to localhost port ssh I'd say pass in on bge0 _inet_ proto tcp from any os "OpenBSD" to (bge0) port 222 \ divert-to localhost port ssh Regards, -- Jérémie Co