Install and run a rport client

On Mac OS (intel based)

Open the terminal and as an unprivileged user download the binary and put it in /usr/local/bin

curl -LOJ ''
test -e /usr/local/bin/||sudo mkdir /usr/local/bin
sudo tar xzf rport_*_Darwin_x86_64.tar.gz -C /usr/local/bin/ rport
sudo mkdir /etc/rport
tar xzf rport_*_Darwin_x86_64.tar.gz rport.example.conf
sudo mv rport.example.conf /etc/rport/rport.conf
sudo mkdir /var/log/rport

Now open the configuration file with an editor and enter your server URL, credentials, and fingerprint.

sudo vim /etc/rport/rport.conf

Before registering a service, test it with rport -c /etc/rport/rport.conf. You should not get any output and the new client should appear on the server.

For registering the service you have two options.

  1. You run it with your own user.
  2. You create a so-called daemon user on Mac OS following this guideopen in new window.

Register and run the service.

sudo rport --service install --service-user <USERNAME> -c /etc/rport/rport.conf
sudo rport --service start

If you are in doubt the service has been created run sudo launchctl list|grep rport. It should list the pid on the first column to indicate rport is running.

$ sudo launchctl list|grep "rport$"
9942	0	rport

If you get an output like this, the installation of the service has succeeded but rport cannot start.

$ sudo launchctl list|grep "rport$"
-	0	rport

Missing write permissions to the folder /usr/local/var/log/ are most likely the reason. Open /Library/LaunchDaemons/rport.plist with an editor and use tmp as log directory for the start-up logs.

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"" >
<plist version='1.0'>







Now reload the service definition and check if rport starts.

sudo launchctl unload /Library/LaunchDaemons/rport.plist
sudo launchctl load /Library/LaunchDaemons/rport.plist
sudo launchctl start rport
sudo launchctl list|grep "rport$"

By default, rport starts at boot.

On Mac OS (M1/Arm based)

Coming soon.

On OpenWRT

Coming soon.

Last Updated:
Contributors: Mykola Terelia, Birgit Karch, Thorsten Kramm