Oct 28 2019 07:04 AM
Hi all,
I know that there is a standard method to create a S2S vpn with a WVD, but for some reasons I'd like to try to run VPN inside my WVD with OpenVpn.
When I ran the configured client manually, everything is ok.
Afterwards I've tried to autostart the VPN via service, restarted the WVD and... I cant no more connect to my machine.
so..
1. how to disable a service (I cant connect to my machine)
2. how to restore the machine
3. there is a safe way to use openvpn?
thanks in advance,
P.
Oct 29 2019 10:29 AM - edited Oct 29 2019 10:30 AM
@Braguzz I m unsure whether you are unable to connect to your VM directly OR through WVD. Can you see the VM using "Get-RdsSessionHost"? My suspicion is that you don't have the right ports open or URLs whitelisted: Port 443 outbound
*.wvd.microsoft.com
*.blob.core.windows.net
*.core.windows.net
*.servicebus.windows.net
prod.warmpath.msftcloudes.com
catalogartifact.azureedge.net
Oct 29 2019 11:38 AM
@Braguzz you can run "stop-service openvpnservice" on the AzureVM in Azure Portal
If you want to use any kind of VPN from the Azure VM, make sure VPN configuration forward only specific routes to the tunnel, keeping the default gw on the local interface.
In case of openvpn - make sure that "redirect-gateway" option is not used
https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway
Oct 30 2019 06:22 AM
Oct 30 2019 06:28 AM
Nov 04 2019 04:01 AM