Hi everyone,
I’m looking for how to automate the list of Plex IPs to add to the Static Route list on a Synology NAS to avoid the VPN network interface on the NAS. I’m not technical enough to write it myself and wonder if anyone has created their own scripts (or other solution).
My setup:
• Plex Media Server - Version 1.27.0.5897, running as a package on Synology NAS
• Synology - DS1019+, DSM 7.0.1-42218 Update 2
• VPN - Running on Synology NAS (not on router) as a Network Interface via Mullvad
• Router - Asus RT-AX88U, port forwarding: manually specific port → synology NAS
I followed the directions at NAS Synology VPN Bypass Plex - #14 by tamet which pretty much tells you to:
• Use Multiple Gateways trough Network, General, Advanced settings, check 'Enable Multiple Gateways.
• Add all the Type A Ips from DNS Lookup for plex.tv to your Static Routes
This worked for a long time until it didn’t. I assumed it was because the list of Type As changed, but I found that the list of IPs kept changing even if you did a refresh. I tried the list of IPs from https://s3-eu-west-1.amazonaws.com/plex-sidekiq-servers-list/sidekiqIPs.txt (referenced near the end of Troubleshooting Remote Access | Plex Support). With that, for a short while, I’d get the correct non VPN interface working on Plex but within less than 10 minutes it would return to the VPN interface (anyone getting different results. If so, any ideas why?).
I tried today to re-add the Type A IPs from dnswatch (There were 4) and it seems to be working. My question is how can I automate adding correct IPs to the static table and removing old ones so that this is more reliable?
Thank you, everyone!