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

    OpenVPN Oauth2 restrict vpn access

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 818 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.
    • G
      Getbys
      last edited by

      Hello guys in our organization we use OAuth2 for authentication to our office via OpenVPN. People use google accounts to generate a token which than is used to authenticate and get access to the office. The OpenVPN client config is stored on a web server and people can access it and download if they know the URL. My question is how can I restrict people that have company google accounts to access the vpn ? Even if they have the client and the token still to have a restriction until granted access. I though with CSO but its kinda overkill to add every email and remove the routing table or etc. Maybe a way to stop token generation ? P.S We don't have AD in our env.

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