Connection works with Mobile Network but not with Home Network

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
arthurlag
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 03, 2021 9:47 am

Connection works with Mobile Network but not with Home Network

Post by arthurlag » Tue Aug 03, 2021 10:02 am

Hello Everyone,

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.

Server Config:

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 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
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
Client Config:

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>
Thanks for the support

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connection works with Mobile Network but not with Home Network

Post by TinCanTech » Tue Aug 03, 2021 11:47 am

See your log files.

Post Reply