3 posts tagged with "raspberry pi"

View All Tags

Host a Private Website With No Static IP

Dominik Nowak

Dominik Nowak

CTO @ Husarnet

In this article I present how to host a web app on your Raspberry Pi (or other computers) with a couple of interesting features.

  • โ›” no static IP address, Dynamic DNS or port forwarding on your router needed
  • ๐Ÿš€ low latency access over the public Internet without server in the middle
  • ๐Ÿ” possibility to easily share access to that web app only to specific people

The web app will consist of two elements:

  • โœ๏ธ front-end: using Bootstrap 4 and websocket client written in JS
  • โœ๏ธ back-end: Python app with a websocket server providing a JSON API to the front-end part

I show a bi-directional connection over a single websocket. The demo application will be very simple - controlling a LED connected to Raspberry Pi using a button in web UI and controlling an indicator in the web UI over the button connected to Raspberry Pi.

๐Ÿ’ญ You can treat this app as a boilerplate code for your own, more sophisticated apps requiring a low-latency control over a web user interface.

Remote Desktop Over The Internet

Dominik Nowak

Dominik Nowak

CTO @ Husarnet

Remote Desktop Software helps you access your headless (without physical display, mouse or keyboard) computer or server desktop over the network.

There are many different solutions available using RDP, RFB (VNC) or proprietary protocols. Some of them are open source and free to use, but many of them are quite expensive. In this article I will show you how to configure one of them - TigerVNC which works great, is open source, multiplatform and is completely free.

I will also show you how to access remote desktop of your computer over the Internet even if it doesn't have a static IP, or is hidden behind a NAT or a firewall.

Access Raspberry Pi Remotely

Dominik Nowak

Dominik Nowak

CTO @ Husarnet

This blog post is an all-in-one setup guide for all of you interested in having both over the internet (remote) and LAN access to SSH terminal for your Raspberry Pi.

  • โ›” no port forwarding on your router
  • โ›” no static IP needed
  • โ›” no VPN server configuration

We start from installing the Raspberry Pi system image, then go through configuration of Wi-Fi connection, finishing on establishing VPN network between your laptop and Raspberry Pi.

Let's start!