Setting up OpenVPN Server on Windows server 2012 R2, empty default gateway and no internet connection

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
hoanghongkhang
OpenVpn Newbie
Posts: 4
Joined: Sun Dec 25, 2016 6:13 am

Setting up OpenVPN Server on Windows server 2012 R2, empty default gateway and no internet connection

Post by hoanghongkhang » Sun Dec 25, 2016 6:37 am

i've followed this guide to set up a OpenVPN access server on Windows server 2012 R2.
The client has been connected but default gateway is empty, and no internet connection.

My VPS server ( Windows server 2012 R2) config is as follow:

Code: Select all

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"

server 10.8.0.0 255.255.255.0

ifconfig-pool-persist ipp.txt

keepalive 10 120

cipher AES-256-CBC

persist-key
persist-tun

status openvpn-status.log

verb 3
My client (Windows 10) config is as follow:

Code: Select all

client

dev tun

proto udp

remote 103.48.194.153 1194

resolv-retry infinite

nobind

persist-key
persist-tun

ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\khang.crt"
key "C:\\Program Files\\OpenVPN\\config\\khang.key"

remote-cert-tls server

cipher AES-256-CBC

verb 3
My VPS server ipconfig:

Code: Select all


Windows IP Configuration


Ethernet adapter Ethernet0:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::e1bd:d966:f298:80ac%18
   IPv4 Address. . . . . . . . . . . : 103.48.194.153
   Subnet Mask . . . . . . . . . . . : 255.255.255.192
   Default Gateway . . . . . . . . . : 103.48.194.129

Ethernet adapter OpenVPN:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Tunnel adapter isatap.{F23E1FEF-9FD8-459B-9CAE-8AD89BE3FFD6}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2002:6730:c299::6730:c299
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2001:0:284c:c3ec:1c03:f8f:98cf:3d66
   Link-local IPv6 Address . . . . . : fe80::1c03:f8f:98cf:3d66%15
   Default Gateway . . . . . . . . . :
Can you help me ?
Thanks in advanced..


Post Reply