OpenVPN in captive portal
-
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. -
@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 ?
-
@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 failedWe 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
-
@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
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.