Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    3Wan, 1Lan. eMail help needed

    Routing and Multi WAN
    2
    4
    1928
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Groen last edited by

      Hi, I’m new to this forum (first post.) as well as with pfsense. My knowledge on this subject is pretty limited, but following step by step instructions usually help me to accomplish my objective.

      I managed to set up my dual Wan with loadbalancing and failover using the documentation.  Everything works well.  The setup is almost identical to the said documentation.

      Now I need to configure a third Wan connection.  This will only be used for email (Port 25, 110, 143) in and out.  I’m not too concerned about the incoming mail, as all incoming traffic goes to an MS ISA server.  The latter will handle the (incoming) routing.  But I need to route the outgoing mail to go out on WAN3 (Opt2).

      Any help will be appreciated.

      Gaborone, Botswana

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        This is pretty simple. Add the 3rd nic to your system, assign it and configure it (if you have not done so already). Then create portforwards for the needed ports at firewall>nat, portforward and make sure to keep the autocreate firewallrule option enabled. Then go to firewall>rules, lan tab and add pass rules for the desired ports with gateway <wan3>. This will send out this kind of traffic through this wan. You probably want to create a failoverpool for this and use this as gateway to make the traffic failover to another wan if wan3 goes down. If you add mx records for the other wans as well to your dns you will be able to send and receive mail this way through the other wans if wan3 goes down.</wan3>

        1 Reply Last reply Reply Quote 0
        • G
          Groen last edited by

          Thanks, I will give it a go.

          Gaborone, Botswana

          1 Reply Last reply Reply Quote 0
          • G
            Groen last edited by

            I configured it as suggested.  Works 100%. Thanks

            Gaborone, Botswana

            1 Reply Last reply Reply Quote 0
            • First post
              Last post