Re: RFC#12 - PF version

2003-10-20 Thread Johan Helsingius
I had code doing this, and even pfctl erroring out with a nice message if kernel and userland are out of sync, but theo refused it. Why? Julf

Re: pf corrupting packet checksums?

2010-12-29 Thread Johan Helsingius
Claudio, This is because of delayed checksum calculation in ip_output. Thanks for the explanation! Julf

Re: Redirection - feeling utterly stupid

2010-12-30 Thread Johan Helsingius
Karl, The rule in pf is that the last pass/block match wins, unless you say otherwise with quick. Indeed. It's something that is too easy to forget when you try things. I had it right before, but got the order of the lines wrong as part of trying to get it to work. Thanks for the correction.

route-to round-robin using single interface?

2013-01-14 Thread Johan Helsingius
Hi! I have a small network, connected by 2 ADSL connections, and want to load-share the connections. All examples of route-to round-robin that I have seen have used 2 separate interfaces, but as both my ADSL modems are on the same no-mans-land network, I have been (so far unsuccessfully) trying

Re: route-to round-robin using single interface?

2013-01-15 Thread Johan Helsingius
Thanks for the reply, Daniel! AFAIK, it should work. Good to have that confirmed, thanks! Can you ping $isp1_gw and $isp2_gw and arp -sn is showing two different entries for them? From the firewall machine, yes, but not from machines on the internal network. What is the problem? All

Re: route-to round-robin using single interface?

2013-01-15 Thread Johan Helsingius
AFAIK, it should work. And it does :) Turns out the problem had nothing to do with pf. For some reason one of the DSM routers (ZyXEL P-2601HN-F1) needed an explicit static return route, while the other, (FRITZ!Box Fon WLAN 7360) didn't. Everything works fine after adding the return route.