Setting Up Plex-Tunnel
Setting Up Plex-Tunnel on Nébulaura
Plex-Tunnel is a configuration tool that reroutes your Plex traffic through a VPS of your choice to improve routing and streaming performance.
Initial Setup
⚠️ Caution
To set up Plex-Tunnel, you must provide your own external VPS. This is not included in the Nébulaura service. The tunnel allows you to create a custom route to the server instead of relying on the default server-to-ISP peering.
Requirements
Before proceeding, ensure you have:
- The IP address of your VPS
- The SSH port for your VPS (default is 22)
- The username for SSH access
- Whether the user has root/sudo access
If the user does not have root or sudo access, you must manually configure the SSH daemon on your VPS:
- Add the following line to
/etc/ssh/sshd_config
:GatewayPorts yes
- Restart the SSH daemon:
sudo systemctl restart sshd
Installation
To install Plex-Tunnel:
- Connect to your slot via SSH. If you need help connecting, refer to the help article.
- Run the following command:
box install plex-tunnel
- Provide the requested information during setup:
- VPS IP
- SSH port
- Username
- Root/sudo access (if applicable)
How to Access
Once the tunnel is created, you will no longer access Plex via the original hostname of your Nébulaura slot. Instead:
- Use the Plex.tv dashboard to access Plex.
- Directly access Plex via your VPS:
https://<VPSIP>:32400
Service Management
As with all Nébulaura-configured applications, Plex-Tunnel can be managed via SSH using the following commands:
- Status: Check the current status of the Plex-Tunnel.
- Start: Start the Plex-Tunnel service.
- Stop: Stop the Plex-Tunnel service.
- Restart: Restart the Plex-Tunnel service.
- Enable: Configure Plex-Tunnel to start automatically at boot.
- Disable: Prevent Plex-Tunnel from starting at boot.
Example:
box start plex-tunnel
Enhance Your Plex Streaming
By routing Plex traffic through your own VPS, Plex-Tunnel optimizes streaming performance and improves the viewing experience. Set it up today for seamless media access!