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...
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>