pf divert-to address family

2012-09-14 Thread Ted Unangst
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 pfctl tells me: $ sudo pfctl -f /etc/pf.conf /etc/pf.conf:15: address family mismatch for divert pfctl: Syntax error in config file: pf rules not loaded ? What gives?

Re: pf divert-to address family

2012-09-14 Thread Jérémie Courrèges-Anglas
Ted Unangst t...@tedunangst.com 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,

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 t...@tedunangst.com 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