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

    Configure VLAN to go via VPN tunnel

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    2 Posts 2 Posters 510 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.
    • S
      swemattias
      last edited by

      I have setup so that I can connect to my LAN via Wireguard to my pfSense. Now I want to make it the other way around, make a network/vlan that connects to the internet via a wireguard tunnel.

      From my VPN provider I can get a ready made wg0.conf, with all the keys I need... but then what? :)

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @swemattias
        last edited by

        @swemattias

        You don't configure VLANs on a VPN. VLANs are configured on Ethernet ports and VLANs are carried on IP. You normally just route the subnets and recreate the VLAN at the other end. OpenVPN supports TAP mode, which might be able to do what you want, but I don't now about Wireguard.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

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