make vpn mode working