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

    User portal

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 816 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.
    • Z Offline
      z.lukenic
      last edited by

      hello
      i'm on pfsense 2.3. I creat some user who need vpn. I creat a groupe OPENVPN with only vpn_openvpn_export page.
      but when user 1 connect, he can download all users config.
      I spose i did somthing wrong way. So can any one halp me on that:
      i need users to connect to pfsense to get their config files

      1 Reply Last reply Reply Quote 0
      • W Offline
        wernich
        last edited by

        this is exactly what I am working on right now. I have it even working more or less, but as I am new to developing with php and also with pfsense, I am not sure how to implement it the correct way to be sure, that with the next official release it won't get overwritten.

        My user portal page which I made now is kompletely based on the export-module (due the lack of php and pfsense development knowledge, i'd probably broke more than I invented). Sadly I did not understand 100% yet how the access model for the files works in pfsense.

        Users can login with android, and due to the right mime type, the openvpn connect app will directly open the file after it was downloaded. (No anoying "Import from SD card" anymore)

        The user portal is done in a cloned version of the vpn-openvpn-export.php. Sadly, in order to make the download button in the users profile working, I have to allow access to the regular export page too.

        May be someone can give me some hint, how I can get this in production with a good feeling?

        many thanks in advance

        pf_userexp.png
        pf_userexp.png_thumb

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