adapt for vpn