How can I make a private like interface?

Posted May 12, 2017 2.7k views

So I am new to the VPS scene and I am curious what the best way to set up some kind of private easily accessible Web interface would be.

I’m primarily a python programmer and I want to use the vps as a method of keeping programs running and such at all times. To test bots or webcrawlers etc. But for some applications I want a gui and I’m assuming the best way to do that would be to host some kind of “website”. But other than that I’m not sure how to implement it with the VPS and I would also like it to be private. I have never done anything like this so forgive me if I’ve said anything dumb.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @cryan118

You could do that in various ways - most people would setup VPN, but I would recommend using SSH tunnels, since you already have SSH in Ubuntu installed and working.

This tutorial is a bit outdated, but nothing has changed with SSH tunnels for about 20 years:

In this article, you'll learn how to create a safe, encrypted tunnel between your computer and your VPS along with how to bypass limits in a corporate network, how to bypass NAT, etc.
  • Thanks, I can sort of see how to use that. Well actually I can sort of see how it might work but I am new to all of this so I am not entirely sure how to go about getting it to work. I have putty and everything of course. So do I create a tunnel in putty on port 80 and and then locally host the site on the machine? Sorry, I am just a little confused