Re: nat-to static-port chooses random ports

2013-09-09 Thread Stuart Henderson
On 2013-09-07, Christopher Zimmermann madro...@gmerlin.de wrote: Hi, as far as I understand pf, the following rules should behave exactly the same: pass out log on pppoe0 inet proto udp from mortimer-ipsec port 5061 nat-to (pppoe0) static-port and pass out log on pppoe0 inet proto udp

nat-to static-port chooses random ports

2013-09-07 Thread Christopher Zimmermann
Hi, as far as I understand pf, the following rules should behave exactly the same: pass out log on pppoe0 inet proto udp from mortimer-ipsec port 5061 nat-to (pppoe0) static-port and pass out log on pppoe0 inet proto udp from mortimer-ipsec port 5061 nat-to (pppoe0) port 5061 but they don't: