Home router is unreachable from Virtual Private Server
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My understanding of subnets is shaky but I'm pretty sure the answer is no. The VPS is on another continent from the router and neither the VPS nor router are on a VPN or VLAN.
Last edited by DoorDaesh; 10-31-2023 at 08:47 PM.
Reason: concision
When I type "what's my ip" into google on my home PC I get 38.xxx.xxx.xxx. The DDNS domain provided by my router manufacturer resolves to the same address. However, the router says its WAN IP is 100.xxx.xxx.xxx
What I understand is you can ssh to some IP address correct?? Then it follows that there is a port(s) open as well as protocol allowed and that one can access the IP address. Has nothing to do with anything else.
Not knowing more about this server I can't answer more. Where is it, who set it up, what is wrong ....
I get exactly the same behavior…ssh to a vps, traceroute to my router’s public (WAN) IP. Responses stop after reaching my ISPs network. I consider that normal, or at least typical, behavior. ISPs tend to limit tracing packets around their networks, considering that to be proprietary information. I’m OK with that.
Upon checking my IP “on Google,” I learned that I’m browsing via a VPN (Apple’s iCloud), although the connections on my server knows my real IP address, so not all traffic is going that way.
The way around it is to set up something like OpenVPN at the VPS end and connect to it from the home end. At the home end, you'll need to set up a port forward on your router, and possibly some static routes if you wanted to reach a specific machine from there. This will give you two way traffic from each end.
BUT I'd only do that if you really need access to your home machine from the VPS.
Yes. What rkelsen said.
For what purpose do you want to access your home PC from the remote server?
What are you wanting to accomplish and/or what problem are you trying to solve?
As I said, that’s how it works for me. I have no reason to connect to my home network from my remote server. If I want to move something from the server to my PC, I “pull” it…sftp GET, for example.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.