PiTunnel includes a number of built in features that make it simple to deploy to a large number of devices.
A common approach to mass deployment is to set up a single Raspberry Pi with all the software and settings required for an application, and then to use a cloning tool like rpi-clone to clone the microSD card for each new device.
Registering New Cloned Devices
Each new device needs to be registered with the PiTunnel.com website, inorder to be recognized when creating tunnels. Usually this is performed during the execution of the installation script. However, to support mass deployment, PiTunnel includes an auto-registration feature that will automatially re-register an installation whenever the serial number of the device changes.
This means that you don't need to do anything special - PiTunnel will detect that your device has a different serial number the first time the cloned card is booted, and will register the new device with PiTunnel.com.
An alternative to cloning is to run a setup script on each new device, that installs all prerequisite software for your application. In this case you just need to execute the PiTunnel installation script
curl -s https://pitunnel.com/install/None | sudo python once per new installation. Note: Do not execute this more than once per device, unless you are wanting to do a re-install, or to update a device to a newer version of PiTunnel.
For help with specific mass deployment scenarios, please contact our support team.
Next: Restrictive Firewalls