cryan118
By:
cryan118

How can I make a private like interface?

May 12, 2017 367 views
Apache Python DigitalOcean Ubuntu

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.

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:
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-tunneling-on-a-vps

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 127.0.0.1 and then locally host the site on the machine? Sorry, I am just a little confused

Have another answer? Share your knowledge.