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

    User and certificate match not enforced ?

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 577 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.
    • S Offline
      setecastronomy
      last edited by

      Pfsense 2.3.4

      I'm doing some tests to solve a problem described here.
      I needed two vpn user and two certificates for two different vpn client user.
      OpenVpn server mode is: Remote Access ( SSL/TLS + User Auth ), which should stay for check both user and certificate.

      I installed the windows Vpn client for user 1 on a workstation and added the configuration for user 2 in the right folder.
      Now OpenVpn client let me choose the configuration to use to connect.
      User 1 configuration uses User 1 certificates
      User 2 configuration uses User 2 certificates

      I was very surprised I can create the vpn with User 1 certificates and User 2 credentials and any other combination. Is it a bug ?
      To put in other words the vpn is created if credentials are valid and certificate is valid, but there is no check they match.

      Thanks
      Filippo

      1 Reply Last reply Reply Quote 0
      • DerelictD Offline
        Derelict LAYER 8 Netgate
        last edited by

        Is this checked on the server?

        ![Screen Shot 2017-07-13 at 1.12.26 AM.png](/public/imported_attachments/1/Screen Shot 2017-07-13 at 1.12.26 AM.png)
        ![Screen Shot 2017-07-13 at 1.12.26 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2017-07-13 at 1.12.26 AM.png_thumb)

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • S Offline
          setecastronomy
          last edited by

          No, it wasn't.
          It solves my issues, many thanks.

          Anyway I'm facing great difficulties with vpn due to lack of documentation, guides and examples.
          Is there something like "Vpn for dummies" with tips and tricks ?

          1 Reply Last reply Reply Quote 0
          • DerelictD Offline
            Derelict LAYER 8 Netgate
            last edited by

            The pfSense Book is now available for just $24.70!

            vvv

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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