Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Lockedup after activating Captive Portal
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lockedup after activating Captive Portal (Read 3344 times)
lox
Newbie
Posts: 36
Karma: 1
Lockedup after activating Captive Portal
«
on:
January 21, 2018, 10:36:44 am »
Hello,
I turned on the captive portal feature and I am now locked up and cannot access the webui anymore (see screenshot)
I have SSH access but have no idea on how to get out of there.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Lockedup after activating Captive Portal
«
Reply #1 on:
January 21, 2018, 11:23:13 am »
You can revert to an older configuration via SSH if you like (option 14 if I remember correctly). To fix this issue, you must not use the proxy to access the web GUI via squid unless you have a valid and trusted certificate. The problem is that you run a transparent proxy which validates the web server certificate and this check fails because it is a self signed certificate (which is untrusted). You can bypass this issue the following ways:
* do not forward traffic to the firewall to the transparent proxy
* do not bump the connection (No bump hosts in the proxy settings)
* use a valid certificate for the web GUI (for example via Let's Encrypt)
* add a exception via the squid configuration in the validation of certificates
Logged
lox
Newbie
Posts: 36
Karma: 1
Re: Lockedup after activating Captive Portal
«
Reply #2 on:
January 21, 2018, 11:38:29 am »
Thanks I found a way to access the GUI flushing the firewall rules from SSH.
I then removed the captive portal on LAN and it now behave properly without touching proxy setting or anything else.
Still I cannot setup the captive portal without an issue
Thanks for your help.
Logged
lox
Newbie
Posts: 36
Karma: 1
Re: Lockedup after activating Captive Portal
«
Reply #3 on:
January 21, 2018, 11:42:10 am »
BTW I don't have an option to revert:
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Lockedup after activating Captive Portal
«
Reply #4 on:
January 21, 2018, 01:25:56 pm »
It's "13) Restore a backup"
Why do you set up a captive portal on LAN where the chances of locking yourself out are nearly 100% ?
Use a separate interface, or create a management LAN...
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Lockedup after activating Captive Portal