VPN server with an hyper-v VM

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
gus
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 02, 2019 2:20 pm

VPN server with an hyper-v VM

Post by gus » Wed Jan 02, 2019 2:24 pm

Hello everyone (and happy new year ) !

I want to set an openVPN server on a VM with hyper-v. I set it up already (debian VM on windows server 2012 R2 host).

I did everything to set up my server, and my client (windows 10). But I can't connect. I can't ping my VM from my client (with public ip, the same as the host).

How can I manage to do it ?

Thanks for the answers.

shenzhensuzy
OpenVpn Newbie
Posts: 5
Joined: Wed Nov 28, 2018 12:39 pm

Re: VPN server with an hyper-v VM

Post by shenzhensuzy » Sun Jan 06, 2019 12:53 pm

Install a dynamic dns service on the vm and use the host name instead of the ip. Also your router may be capable of forwarding tcp/udp but not icmp.

Post Reply