hey there,
i`d highly appreciate any help on my setup as i`m running out of ideas/knowledge 🙁
i`m running a Win2k12 server with OpenVPN and HyperV installed to connect to the virtual machines in my private network. The OpenVPN connection/handshake works fine. i am however unable to ping my gate or the machines in said private network.
Network:
- 1 physical adapter, ext ipv4
- 1 virtual adapter as my gate 10.0.1.10 for int network 10.0.1.X
- 1 virtual machine, 10.0.1.15
- serverrole routing and ras does NAT for my private network
- all networks are set to private
- VPN Client Range 10.0.1.101-165
Errors:
- when i ping my gate from a connected client i get a timeout OR get weird replies from a random ip OR my vpn client ip
I tried:
- TAP only with said behaviour
- Bridge TAP and INT rendering NAT nonfunctional, still no ping
- Bridge TAP and EXT locking myself out 😃
Question:
- any general advice on said setup? how is it supposed to be connected?
- do i actually need to set up a bridge? between which adapters? and with what adress?
i`ve tried several changes over the past few days, this is the config right now
server config:
port 1194
proto udp
dev tap
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
server-bridge 10.0.1.10 255.255.255.0 10.0.1.101 10.0.1.165
keepalive 10 120
comp-lzo
max-clients 10
persist-key
persist-tun
status openvpn-status.log
verb 3
script-security 2
client config:
client
dev tap
proto udp
remote 88.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\laptop.crt"
key "C:\\Program Files\\OpenVPN\\config\\laptop.key"
ns-cert-type server
comp-lzo
verb 3
thanks in advance to anyone willing to help!