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

    Help Setting Guest WiFi VLAN traffic routing through WireGuard VPN

    L2/Switching/VLANs
    2
    2
    170
    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.
    • C
      cypherpunk
      last edited by

      I am trying to set my guest wifi on VLAN to go through a wireguard VPN tunnel.

      I am having issues. I was following this mullvad guide with some changes since this originally routes all WAN traffic and I want just the VLAN.

      First, I do know that my vlan and guest wifi works because if I remove the gateway it works.

      Ok here's what I am doing, any help is most welcomed.

      Set the wireguard tunnel (note the RX TX with valid traffic)
      Screenshot from 2024-08-10 16-28-20-obfuscated.png

      Setting an interface for the wireguard tunnel with the IP address that the mullvad API gave me
      7d36b373-e47e-49fa-8be0-8f11d6caf0a1-image.png

      Set the mullvad gateway and attach to the OPT1 interface with the IP address according to mullvad guide (which is also the DNS)
      38c27d58-c2ac-4aab-ac70-df2035ddd501-image.png
      I am also toggling the Use non-local gateway
      685a9964-8e43-46fd-87b7-33c0443ccb38-image.png

      Configure the NAT outbound rules as advised
      b3bd1fb1-32c3-477a-80b6-e61d071a3771-image.png

      Configure the firewall rules for the VLAN with the vpn gateway (Private_Networks is an IP range from 192.168.1.2 to 192.168.1.254)
      e09fff15-4e0e-44d4-81d7-eb50efcc4ab2-image.png

      Finally set the provided DNS as the DNS for the guest VLAN
      8e6dcf51-b5b6-4847-ab8f-ba7fc638c84b-image.png

      But, alas, no connectivity in the Guest Wifi ☹

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

        Maybe this helps.

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