Server Version#: 1.25.5.5492
Player Version#: Web
Synology Version#: Version: 7.0.1-42218 Update 2
It appears that Plex is using the first detected interface/IP and not the configured preferred interface/IP configured on a multi-homed Synology.
I have configured the preferred interface: ovs_eth4 (10.X.X.X) which is a 10G interface.
Admittedly, it does specifically say this is an interface local users will use to connect.
However, under Remote Access Plex is showing:
Private 192.1668.X.X ← Public X.X.X.X ← Internet
The 192.168.X.X interface is a 1G interface I use solely for monitoring.
I’ve disabled IPv6 and restarted the server but it always selects the 1G interface instead of the 10G interface I configured as preferred.
How do I force the Remote Access to use the interface and IP I have forwarded from my firewall?
Does the NAS use your 10 Gbps interface as its default route to the Internet? If not, configuring it to be so will likely be the easiest way to accomplish what you want.
I’m not sure how you’d check this or configure it on a Synology NAS, but I suspect it is doable.
That’s a great question that I should have addressed in my post.
Yes, it has it’s default gateway configured on the 10G interface.
What I did discover is that so did the 1G interface. I’ve removed the default gateway from the 1G interface and restarted Plex. It is now using the 10G interface as it should.
Great catch!
I still wonder why it wouldn’t be using the preferred interface I had set (since they both had gateways) though.
This comes up occasionally. I think there’s a misunderstanding regarding the purpose of this setting. Certainly not the fault of users, as the documentation really could use some work here (though it’s generally very good).
The only thing this setting changes is which interface (actually, its IP address) is advertised on Plex’s servers as the local connection. When logged in clients request the locations of servers to which they have access, this is the information provided.
Regardless of this setting, Plex binds to all local interfaces; it’s up to the system’s network stack to determine how outbound traffic is routed. So, it’s completely up to the routing table which interface is used to reach a particular destination.
ChuckPa,
Thanks but just to avoid confusion if anyone happens upon this post in the future, my setup was NOT multiple NICs on the SAME subnet though configuring a single gateway (only one gateway to the Interwebs) is valid in my case.
Oh yes! If you have multi-path to the internet, which, if on different interfaces, results in multiple WAN addresses , you’ll drive PMS absolutely nuts.
The same is true if there are multiple internal routers.