Mode rete

i’m using in router mode with vpn service configured, if i switch to access point mode will the vpn service be cancelled?

VPN will not work in AP mode.