I’m connected to a public hotspot with captive portal. It disconnects me every hour so I wrote a script to reconnect. The VPN policies are set so I can still access this portal with my script.