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

    VPN on same subnet as internal network?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 805 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.
    • T
      tucansam
      last edited by

      I'm sure this is a pretty stupid question, but I'm new to VPNs so here goes.

      I followed some forum posts and youtube videos to get OpenVPN set up on my pfsense box.  I can connect with my laptop from afar using my cell phone as a wifi hotspot.  All is good.

      But the VPN is presently configured on a separate subnet than my internal network.  IE, 10.0.0.x is my internal network, and 10.0.1.x is the VPN.

      I'd like to get my client(s) who connect via VPN on the same subnet in order to resolve some routing issues with some of the services I run at home, specifically, Plex.

      How can I accomplish this?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • B
        bennyc
        last edited by

        In that case you need to set up the adapter to bridge (TAP) instead of route (TUN).
        Hint: it starts by changing "Device Mode" under your OpenVPN server settings.

        https://community.openvpn.net/openvpn/wiki/BridgingAndRouting
        http://en.wikipedia.org/wiki/TUN/TAP

        happy reading  ;)

        4x XG-7100 (2xHA), 1x SG-4860, 1x SG-2100
        1x PC Engines APU2C4, 1x PC Engines APU1C4

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