# Using Plex Server with a VPN Synology NAS

**URL:** https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421
**Category:** General Discussions
**Created:** [September 8, 2017, 1:35am UTC](https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421 "2017-09-08T01:35:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MD-PD](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@MD-PD](https://forums.plex.tv/u/MD-PD)
#### Post date: [September 8, 2017, 1:35am UTC](https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421/1 "2017-09-08T01:35:30Z")

</div>

Hi guys i got a DS916+ got PIA VPN up how ever my plex is using PIA VPN ip address which is not open  
how do i get plex to use my normal ip address. how do i do it to get it working. it’s annoying me as i don’t want to turn off VPN as i download a lot of stuff 🙂 so would like it to keep it on

is there a task job i can get it to update with my real ip

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [September 8, 2017, 1:40am UTC](https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421/2 "2017-09-08T01:40:47Z")

</div>

If you’re trying to have split operations (the VPN and the normal), it won’t happen without you hacking the routing tables of Synology.

The big problem there is they don’t provide the command line tools other than `route` to make changes. you don’t have the needed `iptables` to move things around with.

---

<div class="post-metadata">

### Author: ![MD-PD](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@MD-PD](https://forums.plex.tv/u/MD-PD)
#### Post date: [September 8, 2017, 1:48am UTC](https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421/3 "2017-09-08T01:48:08Z")

</div>

i can use my own DYNDNS port :32400 is there away to get plex to use my own ie. [myserver.mydomainname.com:32400](http://myserver.mydomainname.com:32400)

domain name. since it’s up 24x7 but when i use [plex.tv](http://plex.tv) it only get’s my vpn ip i wish i can get plex to use my own domain name anyway to get this to do it?

---

<div class="post-metadata">

### Author: ![MattTwinkleToes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/matttwinkletoes/32/115371_2.png) [@MattTwinkleToes](https://forums.plex.tv/u/MattTwinkleToes)
#### Post date: [September 8, 2017, 1:55am UTC](https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421/4 "2017-09-08T01:55:16Z")

</div>

> @Paul-Diaz said:  
> i can use my own DYNDNS port :32400 is there away to get plex to use my own ie. [myserver.mydomainname.com:32400](http://myserver.mydomainname.com:32400)
> 
> domain name. since it’s up 24x7 but when i use plex.tv it only get’s my vpn ip i wish i can get plex to use my own domain name anyway to get this to do it?

use your host file on the client machine (if you know what the IP address is)

eg

in /etc/hosts or whatever it is in windows (c:/windows/system32/drivers/hosts ??)

[myserver.mydomainname.com](http://myserver.mydomainname.com)_ipaddress_

or use split tunneling which is neater.

[https://forum.synology.com/enu/viewtopic.php?t=132605](https://forum.synology.com/enu/viewtopic.php?t=132605)

you dont really provide much detail so it is possible that I have misunderstood your question.

Is it that while connected to your vpn, you cannot access your plex server by hostname?

Is plex installed on the Synology ?

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [January 7, 2020, 11:47pm UTC](https://forums.plex.tv/t/using-plex-server-with-a-vpn-synology-nas/205421/5 "2020-01-07T23:47:37Z")

</div>


