No Internet access when running OpenVPN with PPTP/L2TP on Windows Server 2012R2

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
FrederickZh
OpenVpn Newbie
Posts: 1
Joined: Mon Jul 16, 2018 5:53 pm

No Internet access when running OpenVPN with PPTP/L2TP on Windows Server 2012R2

Post by FrederickZh » Mon Jul 16, 2018 6:07 pm

I'm trying to install OpenVPN server on my Windows 2012R2 VPS which I've already been using as a PPTP/L2TP server.

I followed the guide and my clients can successfully connect to the server. Here's my configuration:
Server Config

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" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1


However the clients can only talk to the VPS itself. I understand that I need to route the traffic under Windows as described in guides e.g. http://www.ciscopress.com/articles/arti ... 9&seqNum=6. But they all require the RRAS to be configured in NAT mode and as mentioned at the beginning, I've already enabled PPTP/L2TP and RRAS has been configured in VPN mode.

Is it possible to run both PPTP/L2TP and OpenVPN servers under Windows? Any help would be appreciated :D

Post Reply