Outbound loadbalancing not working RC2??
-
I am running an almost identical setup and it's working perfectly on the 21/6/11 snapshot. I can't beleive much changed in one day.
It looks like you have everything set correctly. Are the gateways staying 'up' when you start downloading? Is there anything in the logs from apinger?Steve
-
@Steve - not much logged, everything shows to be up:
Jun 23 01:33:23 apinger: Error while feeding rrdtool: Broken pipe Jun 23 01:34:23 apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
have you set any custom latency/loss settings on the gateways? What form of outbound NAT are you using?
-
Hi,
1.) which packages do you use on this machine ? squid ?
2.) Are your two WAN connections using the same gateway ? You have to take a look at you official IP/subnet/gateway from you ISP and see, if they are using different gateways. -
have you set any custom latency/loss settings on the gateways? What form of outbound NAT are you using?
I'm using the default values for latency and loss, I never get warnings from apinger in the logs but then both my connections seem to be good.
I have outbound NAT set to automatic.It's possible that you've managed to set something behind the scenes with all the config changes that's causing a problem. Though this would be a bug. It might be worth starting from scratch to make sure.
Steve
-
I only installed Snort, but its not on.
My wans are from 2 different providers, if I check the default gateway box on each connection its obvious traffic is going out each gateway - so its not a gateway mismatch on the ISP side.
-
The fact that it uses which ever is set to default implies it is using the default system routing and not the loadbalancing group. Yet it looks, from what you have posted, as though everything is set up correctly. :-
Do you have any floating rules? They are processed first so could be catching traffic before the load balancing rule.Steve
-
Normally I have no Default gateway checked. I removed all floating rules that were made by the traffic shaper yesterday, this still didnt help.
-
On a clean RC3 install, load balancing worked as it should (two WAN connections) until I installed Squid. After installing that package and setting up transparent proxy, all traffic went to WAN1
-
On a clean RC3 install, load balancing worked as it should (two WAN connections) until I installed Squid. After installing that package and setting up transparent proxy, all traffic went to WAN1
This is common. You have to search the forum for "floating rules" and the use with multiwan and squid. You have to do some additional configuration.
But this is not the thread to talk about that. First search the forum and if there are still any questions, start a new thread for you problem.
-
Thank you sir :-) I do believe I may write a basic Multi-Wan online how-to after all of this :-)
I've been following along the setup guides which are "stuck" at the top of this forum…but already several gotchas:
a. The load balancing thread makes the process much more complicated...all you need is one rule!
b. Pass thru VPN does not work unless you turn on sticky connections.
c. Floating rules have no mention in the multi-wan setup... I found this which is a bit misleading: http://forum.pfsense.org/index.php/topic,28121.0.html
d. Context help is not there for packages generally in in RC3I will search up the multi-wan, squid and floating rules and play some more tonight. Given that (based on the above) I'm likely to encounter incorrect information...is there a thread link that you know is correct for squid on psSense2, multiwan, with floating rules?
When done all of this, I will edit my thread over at small net builder..and replicate in the form of a user guide here :-)