Change the FQDN of the RPort server
Learn how to use your own name instead of the random *.user.rport.io hostname
Create your DNS record
# Query the DNS
$ dig +short rport-server.example.com
51.15.51.42
# Fetch your external IP address
$ wget -qO - 'https://api.ipify.org?format=text'
51.15.51.42Generate new SSL certificates
systemctl stop rportd
FQDN=rport-server.example.com
# Generate
certbot certonly -d $FQDN -n \
--agree-tos --standalone \
--register-unsafely-without-email
# Change group ownerships so rport can read the files
chgrp rport /etc/letsencrypt/archive/
chmod g+rx /etc/letsencrypt/archive/
chgrp rport /etc/letsencrypt/live/
chmod g+rx /etc/letsencrypt/live/
chgrp rport /etc/letsencrypt/archive/$FQDN/
chmod g+rx /etc/letsencrypt/archive/$FQDN/
chgrp rport /etc/letsencrypt/archive/$FQDN/privkey1.pem
chmod g+rx /etc/letsencrypt/archive/$FQDN/privkey1.pem
chgrp rport /etc/letsencrypt/live/$FQDN/
ls -l /etc/letsencrypt/live/$FQDN/Change the rportd configuration
Change the ssl key and cert

Change the client connect url
Change the tunnel host
Change the server URL for sending two-factor tokens via email
Chang the Totp name
Start RPortd
Remove unneeded certificates
Last updated
Was this helpful?