Cannot access VPN connected outside server using public IP

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
echodreamz
OpenVpn Newbie
Posts: 1
Joined: Wed Nov 18, 2015 6:40 pm

Cannot access VPN connected outside server using public IP

Post by echodreamz » Fri Feb 23, 2018 10:56 pm

We have a VYOS router in our office running OpenVPN server with desktops / servers behind it (not on VPN). We have an external AWS server connected to our VYOS router using OpenVPN. When the AWS server is connected, it no longer responds to pings on its public IP address for clients behind the VYOS router. As soon as the AWS server is disconnected from the VPN, ping resumes normally.

Our VYOS router uses 10.10.10.x IPs, while our AWS server has a public 38.160.x.x IP. When the system is connected, it receives a 10.10.10.101 IP address, which is fine. What is confusing me, if a client connects from their home for example, I can ping their public IP address from behind our router without issues. Wondering if AWS is doing something?

I am unable to find the server.conf as it seems there is not one on VYOS.

Here is the client config...

Code: Select all

client
proto udp
cipher AES-256-CBC
auth SHA256
remote-cert-tls server
verb 2
dev tun0
remote REMOVED 1194
route-method exe
route-delay 2

<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>

Post Reply