![]() +-+-+įor more information about creating and removing peristent tunnels, please see the Persistent Tunnels section of the documentation.īy default, PiTunnel expects that your server talks plain HTTP. $ pitunnel -port=80 -name=mytunnel -http -persist To make a tunnel persistent, add -persist to the end of the command line options: This means that the tunnel will load automatically every time your Raspberry Pi powers on, and stay active even if you close the terminal window. Once you have tested that your tunnel works, you will probably want to make it perisistent. A new window will be loaded in your browser with your Raspberry Pi website. To find out the world-wide accessible address for your tunnel, go to the Custom Tunnels page:Ĭlick on the link shown in the "Available At" column to access your web server. $ pitunnel -port=80 -name=mytunnel -httpĬonnected to Tunnel Server, v1 A full explanation of the different command line options is also available in the Command-Line Options section of this documentation.Īfter you run the command, you will see the following output in your Raspberry Pi terminal: The Custom Tunnels page contains a helper button "Create Custom Tunnel" to help you form the correct command to create your tunnel. Please change the port number in the command above to match the local port number of the web server on your Raspberry Pi. A tunnel allows you to access your Raspberry Pi web server through through a subdomain ( ).Ĭustom tunnels are created by entering a command in your Raspberry Pi terminal: Once your web server is running, and it is accessible on your local network, you need to create a custom tunnel so that it can be accessed through. Once your web server is running, test that it is accessible on your local network by trying to access it with a web browser from another computer on your network. If you would like to learn how to create your own web server in Python, we recommend looking at the Python Flask framework. If your software already has a web server running, then you are good to go and can proceed to the next step. A Device Monitor and Remote Terminal is included, and you can also create your own Custom Tunnels to access services running on your Raspberry Pi. PiTunnel is a service for remotely accessing your Raspberry Pi, and the projects that you build on it. All your Raspberry Pi needs is an internet conection and PiTunnel will do the rest. We will do this by using the Custom Tunnels feature of PiTunnel. In this article we will guide you through how to use PiTunnel to allow you to access a web server running on your Raspberry Pi from anywhere in the world.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |