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

    OpenVPN in captive portal

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 1.4k 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
      Andoniar78
      last edited by Andoniar78

      Hello everyone.
      I have a captive portal configured in pfsense. everything works ok but if inside that captive portal I try to connect to a vpn, it doesn't connect. If I deactivate the captive portal, the vpn works perfectly.
      VPN client is openvpn.
      What can be?
      THANK YOU.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Andoniar78
        last edited by

        @andoniar78 said in OpenVPN in captive portal:

        VPN client is openvpn.
        What can be?

        Dono.
        Tell us what the OpenVPN client log told you ?

        As soon as a captive portal client is connected to the pfSense captive portal, the connection is totally transparent.
        That is, transparent with respect to what do defined as GUI firewall rules for the captive portal.

        Most users do actually just that :
        The connect to the Wifi SSID.
        The see the captive portal login page, and log in.
        Then they activate their VPN app, so they can do 'safe surfing'.
        This works fine for my captive portal.

        Btw : what is your version of pfSense ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        A GertjanG 2 Replies Last reply Reply Quote 1
        • A
          Andoniar78 @Gertjan
          last edited by Andoniar78

          @gertjan Hello
          This is the message of log:
          2023-05-03 10:20:03 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
          2023-05-03 10:20:03 TLS Error: TLS handshake failed

          We do not connect to the captive portal, we have the mac added within the captive portal. There is internet and everything is OK, but... it doesn't quite connect.

          THANK YOU SO MUCH!

          EDITED: Really if i connect with user and password, vpn works perfect, but if i use Pass-through MAC, NO CONNECT

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Gertjan
            last edited by Gertjan

            @gertjan said in OpenVPN in captive portal:

            Btw : what is your pfSense version ?

            edit :

            Who/where is the VPN server ?

            @andoniar78 said in OpenVPN in captive portal:

            Pass-through MAC

            e55af6a3-4fb1-4801-bcb5-2fa953527897-image.png

            If you have a device with aa:bb:cc:dd:ee:ff, then there won't be any captive portal login page, the connection will be transparent, like if there was no captive portal at all.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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