RPort - open-source remote access and remote management
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Install and run an rport client

On macOS (intel based)

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

curl -LOJ 'https://downloads.rport.io/rport/stable/latest.php?arch=Darwin_x86_64'
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 guide.

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"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
<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 macOS (M1/Arm based)

Coming soon.

On OpenWRT

Coming soon.