V17 - unable to log in to admin page
Posted: Sat Apr 07, 2018 12:34 pm
For a while, I was running my web server at home, and had Meteotemplate installed on it. All was good. My home network was 192.168.1.0/24, $adminIPs was set to '192.168.1', I could log in to the admin page from home, but not from anywhere else.
A couple of months ago, I moved my server to a remote VPS. It's now on its own public IP, with a VPN connection to my home network. The VPN subnet is 192.168.3.0/24. So I updated $adminIPs to '192.168.1,192.168.3'. No dice--I get "Unauthorized access" when I try to log on.
OK, maybe the connection is being seen as coming from my home public IP, so I added that as well: '192.168.1,192.168.3,$HOME_IP'. Still no dice.
Finally, I set $enableAdminIP to false and set $adminIPs to ''. Still the same error.
I'm stumped here. A number of my blocks are pretty out-of-date, I'm sure. Where should I be looking to fix this?
A couple of months ago, I moved my server to a remote VPS. It's now on its own public IP, with a VPN connection to my home network. The VPN subnet is 192.168.3.0/24. So I updated $adminIPs to '192.168.1,192.168.3'. No dice--I get "Unauthorized access" when I try to log on.
OK, maybe the connection is being seen as coming from my home public IP, so I added that as well: '192.168.1,192.168.3,$HOME_IP'. Still no dice.
Finally, I set $enableAdminIP to false and set $adminIPs to ''. Still the same error.
I'm stumped here. A number of my blocks are pretty out-of-date, I'm sure. Where should I be looking to fix this?