sshnpd configuration
TL;DR
Replace the <??> with your specific atSign details
Overview
sshnpd is the daemon that runs on a device to facilitate access using NoPorts.
The three main parameters
These mainly mirror the parameters from sshnp but there's one fewer as the socket rendezvous is only ever set by the client.
1. -a, --atsign
This argument is the device address, a.k.a. the to address, since this is the address that the device is associated with. This argument is mandatory, in the form of an atSign. For example:
2a. -m, --manager, --managers
This is the address of the client(s) that will be allowed to connect to the device. For example:
2b. -p, --policy-manager
As an alternative to defining a list of managers a policy manager can be used, and the policy defined on that manager will describe which clients are allowed to connect. For example:
3. -d, --device
The device name. This is used to associate multiple devices with the same atSign. By default the value is default
so unless you want that as the device name you will need to include this parameter. For example:
Putting it all together
An example of a complete command might look like this:
Running the daemon as a service
The daemon should normally be run as a service so that it starts up automatically and can be restarted if it should fail.
Most mainstream Linux distributions use systemd to manage services, and we provide a systemd unit file that's configured by the universal installer. That file can be edited after installation to customize or add additional options. For distributions such as OpenWrt we provide config and init files that can be customized with a text editor or configured through the web admin interface.
Additional Configuration
The rest of the configuration for sshnpd
is contained in a separate guide:
Last updated