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

    dual wan but not failover or balanced

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 1.1k Views
    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.
    • H
      holest
      last edited by

      Hello!

      I would like to ask, if is there any way to make the following with pfsense:

      i have 2 separate internet services and i would like to make a dual wan configuration, where vlan1 serve the isp1 and vlan2 serve the isp2? So separate gateways for vlan and lan?

      Thanks

      4e356488-bd3a-4301-b17f-b0567fd73507-image.png

      A 1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        yes

        1 Reply Last reply Reply Quote 0
        • A
          akuma1x @holest
          last edited by akuma1x

          @holest You can accomplish this by using the firewall rules that are on each interface. On the LAN interface, in the LAN to any rule, add the ISP1 gateway address. Then on the VLAN interface, in the VLAN to any rule, add the ISP2 gateway address.

          When this is done, check on the hosts that are on each network, you should get the proper gateways. Even a check on an external website "what's my IPv4 address" should show you the different ISP addresses.

          This is called policy routing, and you can use this to send an entire network (or individual machines/computers with some additional fine-tuned firewall rules) out a different gateway that you have connected to your pfsense box.

          https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html

          H 1 Reply Last reply Reply Quote 2
          • H
            holest @akuma1x
            last edited by

            @akuma1x Thank you! It's working!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.