Try tnnl
Prerequisites
- An IoT device (smart tv, smart security system, smart light switch,…) in your local network, that responds to HTTP requests
I don't have a device
Below are some examples of how you can start a simple HTTP server on your local machine:docker run --rm -p 8080:80 nginx
npx http-server -p 8080
- A machine in the same network (can be the device itself), that…
- can access the device
- has internet access
- can execute
docker
ornpm
commands
Step 1: Get a tnnl token
The token
has expired.
Click here to generate a token:
Congratulations. Your tnnl token is
. It is valid until
.
Step 2: Run the tnnl client
Enter the URL under which your device is accessible on your local network:
Execute one of the following commands on a machine, that can reach your device:
If you have node installed:
TOKEN= RULE=:"80-your_server:8080" npx tnnl
... OR docker:
docker run --rm --env TOKEN= --env RULE=":80-your_server:8080" inqode/tnnl
... OR cargo:
cargo install tnnl && TOKEN= RULE=":80-your_server:8080" tnnl
... OR none of it:
curl https://tnnl.de/scripts/start-client.sh -o- | TOKEN= RULE=":80-your_server:8080" sh
Step 3: Wait for the connection
↻
Step 4: Control your device from anywhere
↻
Enable Basic Auth