Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
[SOLVED] guest portal sessions are lost on reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] guest portal sessions are lost on reboot (Read 4987 times)
nazimnc
Newbie
Posts: 8
Karma: 0
[SOLVED] guest portal sessions are lost on reboot
«
on:
January 16, 2018, 01:47:56 pm »
we have issue with guest portal sessions:
when we restart service or reboot opnsense server all the registered sessions are lost. In reaction all guests had to put username/password vouchers again.
Is there a way to keep sessions saved all the time until session expired as per voucher validity time.
«
Last Edit: January 19, 2018, 09:18:41 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: guest portal sessions are lost on reboot
«
Reply #1 on:
January 16, 2018, 05:48:15 pm »
Hi there,
It should be like that. Which version are you using?
Cheers,
Franco
Logged
nazimnc
Newbie
Posts: 8
Karma: 0
Re: guest portal sessions are lost on reboot
«
Reply #2 on:
January 16, 2018, 08:08:57 pm »
I am using 17.7.11 (amd64/OpenSSL) updated but still on reboot all sessions are wiped out and all guests need to put vouchers again
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: guest portal sessions are lost on reboot
«
Reply #3 on:
January 17, 2018, 10:21:04 pm »
Are you using the /var MFS option under System: Settings: Misc?
I have to ask... anybody else seeing this problem?
Cheers,
Franco
Logged
nazimnc
Newbie
Posts: 8
Karma: 0
Re: guest portal sessions are lost on reboot
«
Reply #4 on:
January 18, 2018, 06:01:00 am »
We did use /var first few experiments but now we are not using /var anymore.
now being more clear -> have tested couple of devices along with long timings and found out sessions are wiped out after at least 12 hours even we don't restart service/server.
is there any check/setting to extend session expiry upto 30 days as per voucher validity is 30 days or more so even guest comes back after days system shouldn't ask him to enter voucher again
Logged
nazimnc
Newbie
Posts: 8
Karma: 0
Re: guest portal sessions are lost on reboot
«
Reply #5 on:
January 19, 2018, 01:22:14 am »
found out that it was because of DHCP Lease time expired after 12 hours instead. so we changed to 30days now and problem solved!!!
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: guest portal sessions are lost on reboot
«
Reply #6 on:
January 19, 2018, 09:18:33 am »
Sounds great, thanks for the follow-up.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
[SOLVED] guest portal sessions are lost on reboot