Dual WAN –> Spread web server traffic between both connections



  • The title may seem a little unclear, let me explain.

    First off, heads up to the pfSense team, they have made a fantastic piece of software, and I have successfully been able to set up Dual Wan Load balancing for outgoing traffic.

    We have two ADSL lines, (1x 2Mbit with Bulldog and 1x 1Mbit with another ISP) I am able to download @ full 2Mbit and someone else is able to download at near enough the full 1Mbit at the same time. All is good.

    Port forwarding works off our main line at the moment, to allow remote desktop to through to different computers depending on the port. ie port 5539 goes to PC A and 5599 goes to PC B and so on.

    Two problems / Questions remain.

    Firstly, FTP doesn't work 100%
    It always connects, to Microsoft FTP Server, port 21, blah blah, but then it doesn't always list the files
      No connection could be made because the target machine actively refused it.

    If it does list the files, it can't download the files. I Any ideas?

    Second question

    We have a webserver on the network, and I wan't users to come through on one line, Line A, but recieve data from either Line B or Line A

    So that it will work thatway as well as the otherway. Two people could download @ upto 256 Kbit/s at the same time (one across either line) is this possible? And if so how can I do it?

    Thanks alot,
    Smeg
    ;D



  • Try deleting the firewall and port forward rules and readd them, fixed my problem with ftp…was like .8x release at the time.

    For the second question (correct me if I'm wrong guys) there is no real way to have pfsense directly say to use one link over another. However, all hope is not lost, have you ever saw a website which has a download page....click on the link and it redirects you to another page with all the mirrors for a particular  file? You could have some scripting read the current throughput usage on pfsense to detect which has the most usage and to display to the user a graph of each link with current usage(green for all go, yellow under load, red for maxed out...ect). The reason for this approach is mainly due to when the user sends out a request, it's looking for a response from the same host(on the outside interface) and if something unexpected is sent back it is dropped in the process.



  • it's looking for a response from the same host(on the outside interface) and if something unexpected is sent back it is dropped in the process.

    That's what I figured, and it's what I'll do, I'll write the website that's to be hosted to automatically re-direct the user's browser through one line or the other.

    I'll try the FTP thing, but I've already done it twice. Third time lucky mayabe!

    Thanks for your help  ;D ;D



  • @smeg9:

    it's looking for a response from the same host(on the outside interface) and if something unexpected is sent back it is dropped in the process.

    That's what I figured, and it's what I'll do, I'll write the website that's to be hosted to automatically re-direct the user's browser through one line or the other.

    I'll try the FTP thing, but I've already done it twice. Third time lucky mayabe!

    Thanks for your help  ;D ;D

    HI, what abou t your problem with FTP. I have the some problem with listing FTP site if I ahve configured and working Load Balancing. Any ideas to resolve it?



  • @RoboK:

    HI, what abou t your problem with FTP. I have the some problem with listing FTP site if I ahve configured and working Load Balancing. Any ideas to resolve it?

    FAQ.  FTP does NOT work with load balancing.  Search the faq before asking questions.


Log in to reply