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

    OpenVPN client for vlan only running alongside server

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 564 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.
    • X
      xrctp1
      last edited by

      I currently have an openvpn server instance configured and want to add a client as a connection to P.I.A. I have a VM configured for with two interfaces (one VPN Vlan and the other local network). I can't route all traffic through P.I.A. because I host multiple domains. I've read some things suggesting creating a virtual gateway but am not sure how to go about that. I currently have a virtual interface on the vlan for the VPN service and have NAT rules setup. Any suggestions?

      Attached is my interface configuration.
      piavpn-interfaces.jpg
      piavpn-interfaces.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • X
        xrctp1
        last edited by

        To put things graphically, here's what I want to do:

        _______  <vpn vlan="">________ <vm eth0="">/
        <gateway interface="">–--------<
                                                          ________ <local net="">________</local></gateway></vm></vpn>

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