Cannot connect to OpenVPN Community Edition through Windows 10/iOS 12

Problem:

OpenVPN Community Edition

Cannot connect to server using Windows 10 Laptop or iPhone 7 running ios 12

Server:
- Raspberry Pi 3 Model B (w/ static ip: 192.168.86.42) connected via wif
- Raspberry pi is also running PiHole latest version (https://pi-hole.net/)
- OpenVPN's DNS points to raspberry pi's static IP address
- one client file: client.ovpn (attached)

LAN:
- Edgemax router in front of Google Wifi
- WAN type: DHCP
- port 1194 forwarded on UDP via Google Wifi app

Troubleshooting:
- Followed guide multiple times (https://docs.pi-hole.net/guides/vpn/installation/)
- Also followed optional sub-guide for "dynamic DNS" (https://docs.pi-hole.net/guides/vpn/dynDNS/)
- formatted raspberry pi multiple times and switched installation order (pihole -> openvpn and vice

Log file when trying to connect via Windows 10:
https://pastebin.com/qqBfUbta

server.conf:
https://pastebin.com/QhdZdnD4

client-common.txt:
https://pastebin.com/23yCwqVN

client.ovpn:

https://pastebin.com/gCqeVr5k

Posted May 19, 2019, 5:27 PM UTC

13
daemonkun•

This is probably a double nat issue. Can you make sure that your ISP does not use CGNAT?

1
magicpoopsxxOP•

How would I proceed with this? Just disable it in the Edgemax settings or google Wifi settings?

edit: there is actually a NAT service for Edgemax called “masquerade for NAT.” Should I disable that?

1
daemonkun•

I wouldn't do that. CGNAT is on isp side, not on your side. What is the IP your getting in WAN? Does it reside in the private ip space / CGNAT space (you can google this if you're not sure) or are you getting your public ip? If the latter, you're in CGNAT, and I'm afraid you can't setup vpn to your home.

1