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

    Auto create OpenVPNs?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 1.2k 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.
    • A
      achekalin
      last edited by

      Hello,

      recently I was needed to make several 10's of OpenVPN tunnels (our "road warriors" find that OpenVPN pretty nice solution to be used from hotels etc), so I setup separate pfsense 2.0.1 instance to use as OpenVPN gate only.

      As soon as I used it for tests, it was pretty nice, but as I face the need to create (say) 50-60 OpenVPN-enabled users I feel a bit of sadness. I don't want to setup separate Radius for such a small purpose, though.

      So I really wonder if there is any way to automatically create some 10's of such users on pfsense? Maybe some API or something?

      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        There isn't an automated way to make that many users+certificates.

        Even if you setup radius, unless you did auth-only, you'd still need certificates.

        Anyhow, I wouldn't consider 50-60 users "small", radius would work well for that size. There are freeradius packages for pfSense, though I'm not sure how easy it would be to add users to them in a batch (either freeradius or the new freeradius2 package)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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