Hi list,

OpenBSD 6.3 -stable: I was playing with local network - tunning various things 
on pf, and i observe this odd(maybe not?) performance when using different 
approach:

(trunk0 is local network, ext_1 is external, NAT is performed)

when i used:

set skip on trunk0
…
…
pass out on $ext_1 from 192.168.50.0/24 to any nat-to ($ext_1)

pf was performing at around 600Mbps

but when i used:

pass out on $ext_1 from 192.168.50.0/24 to any nat-to ($ext_1)
pass in on trunk0

performance dropped by 50% to 300Mbps

other rules on pf do not matter - i ruled out their influence on performance, 
but i am curious if anyone observed this and have some insights on that, or am 
I doing something terribly wrong?
(btw, yes i know what skip-on means, just i am surprised by diff in performance 
by using that 2 options…)

_
Zbyszek Żółkiewski

Reply via email to