Short how-to for creating a reverse ssh tunnel to a remote server. Useful for breaking NATted connection for example.
- At OpenWrt:
opkg update
opkg install sshtunnel- At remote server: create client ssh keys
| var express = require('express'); | |
| var router = express.Router(); | |
| var _ = require('lodash'); | |
| var crypto = require('crypto'); | |
| var secret = 'MY_SECRET_PRIVATE_KEY'; | |
| router.post('/', function (req, res) { | |
| // Check User Agent |
| /* | |
| Firmata is a generic protocol for communicating with microcontrollers | |
| from software on a host computer. It is intended to work with | |
| any host computer software package. | |
| To download a host software package, please click on the following link | |
| to open the list of Firmata client libraries in your default browser. | |
| https://github.com/firmata/arduino#firmata-client-libraries |
Short how-to for creating a reverse ssh tunnel to a remote server. Useful for breaking NATted connection for example.
opkg update
opkg install sshtunnelSuccessfully tested with Ubuntu 20.04 as the host OS in 2 quite different "environments":