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

    How to setup OpenVPN to use 2 client ID to access 2 separate VLAN.

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 488 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.
    • M
      marimo
      last edited by

      Hello,

      Is there an setup / configuration to modify in order to use a 2 separate openVPN client ID which access the 2 separate VLAN network?

      Example:

      • OpenVPN [client ID A] has access to VLAN 100.
      • openVPN [client ID B] has access to VLAN 100 & 200

      Thank you.

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        You have to configure Client Specific Overrides for these clients so that they get a static IP. Then you're able to use these IPs as source in firewall rules to allow access to the desired network ranges.

        M 1 Reply Last reply Reply Quote 0
        • M
          marimo @viragomann
          last edited by

          Thank you I will give that try.
          So how is that openVPN server side should be setup?
          in "Redirect IPv4 Gateway" in Tunnel Settings in VPN server, should I list out all the VLAN?

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