Quote:
Originally Posted by morning-tea
I don't prefer programming my router because there are some other PCs on the local network.
|
I should have used the term "configuring" instead of "programming". Your router is configured to refuse any connection requests to your internet address 123.456.789.012. Without configuring port forwarding on your router, no traffic can reach your home network from the internet.
With VPN, I mean setting up your own VPN server on that VM. This means that you will register with your own VPN server, not with a public one. The two links you found describe public VPN services for reaching internet sites without revealing your IP address. They don't allow reaching your VM
from the internet. To do the latter, you need something like OpenVPN; there are plenty of instructions for setting up and using an OpenVPN server.
Of course, in addition to setting up OpenVPN, you still need to configure port forwarding on the router.
To make your VM reachable via SSH, ensure that it has an SSH server (most Linux distros run it by default), set up key-based authentication, and configure port forwarding on the router.
To make your VM reachable via HTTP or HTTPS, you need a web server and port forwarding on the router. Since no authentication is involved, be ready for people with bad intentions breaking into your home network.
I would have to search the internet for instructions, and am sure you can do that as well.