Got way carried away with some code.
Been meaning to do this for a while, wanted to setup a web page I can login to, which would then grant my current IP address access to my VPN server, then I can VPN to my house from anywhere, including from my phone over mobile network. From there I can check my email, security cameras, home temperature, alarms, get access to my password manager if I want to login to say, Facebook or something etc... Before I could only do that from work as I had a regular firewall rule for my work IP and that's it.
Started off as something really simple then started to think of various features I wanted to add and just kept adding to it.
I think I'm finally done touching it now. I say that and the minute I close my text editor I think of something else I should add lol.