Openvpn server installeren op windows server 2012

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
flippel
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 12, 2018 7:17 am

Openvpn server installeren op windows server 2012

Post by flippel » Wed Dec 12, 2018 7:21 am

Hello,

I want to install openvpn server on a Windows Server 2012. I tried but it doesn't work.
A remote client should connect to the local network so all devices of the network are remote reachable.
The server has an static IP address and I connected the WAN IP to an dyndns address.
I installed the OpenVPN GUI V11.10.0.0

Map .. C:\Program Files\OpenVPN\config --> server.ovpn ....
port 1194
proto udp
dev tun
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"
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 0
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1

Map ... C:\Program Files\OpenVPN\clients --> client.ovpn ....
client
dev tun
proto udp
remote xxx.dnsalias.com 443
resolv-retry infinite
nobind
comp-lzo
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-256-CBC
verb 3
<ca>
-----BEGIN CERTIFICATE-----
ca.crt here
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
grandstream.crt here
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
grandstream.key here
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
ta.key here
-----END OpenVPN Static key V1-----
</tls-auth>

Can somebody help me with this ?
Last edited by flippel on Wed Dec 12, 2018 8:57 am, edited 1 time in total.

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: Openvpn server installeren op windows server 2012

Post by novaflash » Wed Dec 12, 2018 8:53 am

> remote 192.168.100.92 443

Points to a private IP, that will never connect from the outside world.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

Post Reply