Remote Access to Plex via IPv6

Public IPv4 addresses become much rarer in recent years, at the same time IPv6 grows rapidly and most ISPs have started supported it. To remote access to plex media server via IPv6, some configurations need to be setup.

Prerequest

This article supposes you have a custom domain, and DDNS/DNS has been properly configured. Thus the server can be accessed directly via domain.

Install Plex Media Server

DEB-based distros (Ubuntu, etc.)

1
2
3
4
5
6
7
8
9
# Add source
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

# Add key
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

# Install
sudo apt update
sudo apt install plexmediaserver

RPM-based distros (Fedora, CentOS, etc.)

1
sudo vim /etc/yum.repos.d/plex.repo
1
2
3
4
5
6
[PlexRepo]
name=PlexRepo
baseurl=https://downloads.plex.tv/repo/rpm/$basearch/
enabled=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key
gpgcheck=1
1
2
sudo yum update
sudo yum install plexmediaserver

Configure Network

Goto Settings -> Network

Enable IPv6 support in plex media server

Set custom URL

This step is to give you access to flex media server in android app.

Allow insecure connection

Open Android App, Goto Settings -> Advantage -> Allow insecure connection

Set to Always

Just Play

Now you can either access to your flex media server via

http://<your domain>:32400

Or through Android App.

Reference

https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions/