Dual WAN consultation



  • Hello Guys,

    I found your amazing work and I'm pretty curious can I merge two wans to get better results for my connection.

    Currently I have connection to my lan (switch) on rl0,
    I have PPPoE connection to my ISP on rl1,
    and I have adsl modem connected to rl2, which I use with dhcpcd eth0 when I'm on linux

    I manage to get them all online, but when I check the box "Enable Optional 1 interface" I can't get in the webGUI anymore - no ping also. Also I see a little difference of my webGUI and the shown snapshots here http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing. For example I don't have the behavior boxes (Load balance and failover) in the Load Balance: Pool: Edit dialog. I'm using the latest LiveCD installation. I tried installing to hdd and booting from cd only. I can't manage to see how to backup configuration to USB storage.

    I need help on this - can I do it really - pppoe + dhcp from adsl modem and get it working.



  • Okay, I've resolved the problem with OPT1 - i was setting up two eths with one IP .
    Now rl0 - 192.168.1.3 (LAN)
    rl1 - PPPoE
    rl2 - DHCP - gets IP 192.168.1.2

    Other questions still without answers :)



  • OMFG its so easy!

    For newbies - don't use this tutorial http://doc.pfsense.org/index.php/Main_Page#Multi-Wan.2FLoad-Balancing

    better use this http://www.netlife.co.za/content/view/34/34/

    Dual WAN with pfSENSE is easy!

    1. Assign your network interfaces
    2. Once ready - go to Status -> Interfaces - from there you can gather important info - IPs and gateways.
    3. Then go to Services -> Load Balancing and create a new pool. The type is gateway. There should provide IP and monitor IP for WAN and OPT1.
    4. Then go to FIrewall -> Rules -> LAN and make so the whole traffic from the LAN network goes to the new pool (created in step 3).
    5. Then go to Firewall -> Nat -> Outbound and permit traffic from LAN network thru the different wans - WAN + OPT1.

    You are ready. Keep refreshing while checking your IP on whatismyip.com ;)

    My next aim is - load balance the inbound traffic - is this possible? I want to host a small website, so any solutions are welcome!



  • @h8r:

    My next aim is - load balance the inbound traffic - is this possible? I want to host a small website, so any solutions are welcome!

    Yep, that works as well.  See http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing

    And your right, we need to remove some of those old tutorials.



  • @h8r:

    My next aim is - load balance the inbound traffic - is this possible? I want to host a small website, so any solutions are welcome!

    When setting up a pool make the pool type 'Server' - in the above example you must have used 'Gateway'.

    Hopefully it will be just as easy :-)

    edited to add: Actually load balancing incoming means having several servers for that website: so it would need to be a very big website to need this. You probably mean you want your website visible on all the real IP addresses you have, which is a NAT problem, not load balancing.



  • Please note that you have to choose the correct tutorial/documentation based on the version you are running. The gui has changed in the latest snapshots. Once 1.2 is out we'll pull all tutorials using the old gui.



  • Yes, I noticed that the GUI was changed. Its nice to stress that in the wiki.

    Currently load balancing and failover is working very nice.

    As to the inbound load balancing - I will use dns tricks to check if rl0 is online, if not update the dns records with the alternative lines' IP. Not inbound load balancing at all. I will post here my results. Greets for the nice product!


Log in to reply