Multiple ISPs: send packets to the interface they came from

2011-11-08 Thread Guillaume Filion
Hi all, I'm very new to OpenBSD so please bear with me as I'm certainly doing a rookie mistake... I'm using a Soekris net5501 as a loadbalancer using Debian and I want to switch to OpenBSD. We have two ISPs coming to the net5501 as vlan1 and vlan10. My default gateway is set to vlan1. The

Re: Multiple ISPs: send packets to the interface they came from

2011-11-08 Thread Patrick Lamaiziere
Le Tue, 08 Nov 2011 15:27:02 -0500, Guillaume Filion g...@logidac.com a icrit : Hi all, Hello, I also tried using pf route-to but that seems to only work with NAT... No it does routing. I use it without nat. So basically my question is how to tell OpenBSD to send packets to the interface

Re: Multiple ISPs: send packets to the interface they came from

2011-11-08 Thread Guillaume Filion
Thanks a lot Patrick, it was really to the point! From man pf.conf: reply-to The reply-to option is similar to route-to, but routes packets that pass in the opposite direction (replies) to the specified interface. Opposite direction is only defined in the