I first have to state that I am kind of a newbie, so my questions and problems might be extremely simple, but I still am unable to resolve them.
Problem Statement: I set up an OpenVPN server on AWS Lightsail Ubuntu 20.04 instance. I can connect to the server both from my mobile network and my home network. But when I connect with my home network there is no internet connection. I can not have any traffic. My mobile network works somehow which made me think that my ISP is blocking the ports so I set up a DMZ for my PC's IP to open all ports but still did not work.
I am not sure if this is a DNS issue or a port issue and even not sure if I was able to open all ports by setting up DMZ. I will appreciate if you can help me with this problem. Please find below the server and client config files.
Code: Select all
port 1194 proto udp dev tun user nobody group nogroup persist-key persist-tun keepalive 10 120 topology subnet server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "dhcp-option DNS 188.8.131.52" push "dhcp-option DNS 184.108.40.206" push "redirect-gateway def1 bypass-dhcp" dh none ecdh-curve prime256v1 tls-crypt tls-crypt.key crl-verify crl.pem ca ca.crt cert server_t9MSNMiHRXwbZmtP.crt key server_t9MSNMiHRXwbZmtP.key auth SHA256 cipher AES-128-GCM ncp-ciphers AES-128-GCM tls-server tls-version-min 1.2 tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256 client-config-dir /etc/openvpn/ccd status /var/log/openvpn/status.log verb 3
Code: Select all
client proto udp explicit-exit-notify remote x.x.x.236 1194 dev tun resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server verify-x509-name server_t9MSNMiHRXwbZmtP name auth SHA256 auth-nocache cipher AES-128-GCM tls-client tls-version-min 1.2 tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256 ignore-unknown-option block-outside-dns setenv opt block-outside-dns # Prevent Windows 10 DNS leak verb 3 <ca>