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

    Wireguard Policy Routing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 465 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.
    • E
      ervin23
      last edited by

      Dear all,

      wonder if you can give me some hints on how to achieve the following:

      I have :

      LAN:
      Clients Group A: 192.168.1.11 to 192.168.1.15
      Clients Group B: 192.168.1.16 to 192.168.1.20
      Clients Group C: 192.168.1.21 to 192.168.1.25
      (can be set up as aliases)

      Gateways:
      WAN
      Wireguard 1
      Wireguard 2

      I would like to route ex.

      Group A to --> WAN
      Group B to --> Wireguard 1
      Group C to --> Wireguard 2

      My Wireguard provider is Mullvad.

      • Default WAN
      • Fallback to WAN in case a wireguard tunnel goes down
      • No DNS leaks
      • Default DNS on LAN clients 1.1.1.1

      I have the config running on OpenWRT (Policy Routing) but I would like to swap to pfsense.

      Hope you can guide me in the right direction ...

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @ervin23
        last edited by Bob.Dig

        @ervin23 I would guess you would divide those groups by vlans but if you don't want to, it should be doable like you have described it, not done it like that myself though.

        You should beginn with something like this and get it working. Also see this.

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