RPort
Search…
Updating RPort
RPort is under active development. Keep your installation up-to-date.

Update the RPort clients

It's recommended to run your clients with the recent version of rport. We try to always keep server and client compatible, regardless of the version. Basic connectivity and the usage of tunnels should always be possible with clients running and older version than the server.
A fast and easy update of the rport clients can be done through the pairing service. If you have scripting with root privileges enabled, you can trigger a client update through the rport server.
πŸ’‘It's safe to execute the update while being connected via SSH or RDP through an RPort tunnel. On Windows and Linux, the rport client is restarted delayed and from a decoupled background process. You will be disconnected, but the client reconnects, and you can create a new tunnel after the update.

On Linux

1
curl -s https://pairing.rport.io?update -o rport-update.sh
2
sudo sh rport-update.sh
Copied!
Update of the RPort client on Linux
The Linux update script accepts parameters as follows:
1
sh rport-update.sh -h
2
​
3
Usage rport-update.sh [OPTION(s)]
4
​
5
Update the current version of RPort to the latest version.
6
​
7
Options:
8
-h print this help message
9
-v [version] update to the specified version.
10
-c update the rport client, default action
11
-t use the latest unstable version (DANGEROUS!)
12
-u uninstall the rport client and all configurations and logs
13
-x enable script execution in rport.conf
14
-d disable script execution in rport.conf
15
-s create sudo rules to grant full root access to the rport user
16
-n do not create sudo rules to grant full root access to the rport user
Copied!

On Windows

1
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
2
$url="https://pairing.rport.io?update"
3
Invoke-WebRequest -Uri $url -OutFile "rport-update.ps1"
4
powershell -ExecutionPolicy Bypass -File .\rport-update.ps1
Copied!
The Windows update script accepts parameters as follows:
1
PS C:\Users\Administrator> .\rport-update.ps1 -h
2
Update the rport client.
3
Invoking without parameters updates to the latest stable version.
4
​
5
Parameters:
6
-t Use the latest unstable version.
7
-x Enable command and script execution without asking for confirmation.
8
-d Disable command and script execution.
9
-v [version] Upgrade to the specified version.
Copied!
​

Update the RPort server

We keep all major and minor versions of the rportd and the frontend compatible. Do not run different major and minor version of frontend and backend.
The rport server has database migrations built-in. But some tables are excluded from auto-migration. An update consists basically of replacing the old rportd binary by a newer version. If you need to change the database manually, we will provide SQL snippets.
For a fast, secure and convenient update, use the update script as follows:
rportd-update.sh
1
curl -s https://get.rport.io/update -o rportd-update.sh
2
bash rportd-update.sh
Copied!
πŸ‘‰ After the update, use SHIFT-Reload on your browser to purge the old frontend from the cache.
Last modified 4d ago