I have an Arch Linux SSH/SFTP server connected to a PrivateInternetAccess VPN which I want to ssh into from an android phone. The problem is, if the phone is also connected to a PIA VPN, SSH hangs and cannnot connect to my server. If I disconnect the VPN on the phone, I can ssh into the server. If I disconnect the server itself from the VPN, but use the VPN on the phone, SSH also works. I don't know that much about VPNs but from what I've read this has to do with the data getting 'lost' somewhere along the way and that I need to use traceroute to fix it. Can somebody help?
EDIT: It also works when I ssh using the server's local IP address, but not when using its ddns address so user@192.168.1.202 works, but user@server.ddns.net doesn't
EDIT2: Definitely not a problem with the SSH, if I try to use a web browser to access, say, the my home router's settings page by typing in server.ddns.net, I can only load it if I disconnect the device I am trying to access it FROM from the vpn