I have monkeyed with all of the player and server “secure connection” settings, and played with
the manual connections knob.
I think the player is connecting, but the server log contains
“CERT: incomplete TLS handshake from 10.7.0.3:38370: stream truncated” messages (10.7.0.3 is
the VPN address of the client), I have enabled the 10.7.0.0/24 network in
‘List of IP addresses and networks that are allowed without auth’.
I also put 127.0.0.1 here since I sometimes see the TLS handshake errror with this address as
well.
[OP here]
Well, plug my cornhole; I got it working by disabling remote access in the server settings. This seems a bit counter-intuitive, but is actually preferable for my desired setup.
@ChuckPA:
This (IP address at ROUTER) does not appear to be what I’m seeing in the PMS log; I can see the Plex player/VPN client connect:
DEBUG - Auth: authenticated user 1 as Dirk Bonebrake
DEBUG - Request: [10.7.0.3:40614 (Allowed Network (Subnet))] GET /media/providers?includePreferences=1 (6 live) #50b GZIP Signed-in Token (Dirk Bonebrake) (Q-1045G)
and a bunch of other stuff in the log, and then
DEBUG - CERT: incomplete TLS handshake from 10.7.0.3:48926: stream truncated
And it did work ONCE after I disabled remote access (and yes, I’m sure that the test was in fact
going through the VPN).
To clarify the VPN setup::
The VPN is on the same machine as PMS (not the router). The client connects to the VPN server, which knows how to route to the PMS.
Assuming the routing is correct, what is the source of the TLS handshake error and how do I eliminate it?
The message is direct. It’s telling you the handshake info (so it could setup the encryption) provided in the message was cut off (truncated) somehow. It was expecting more than it got.
What’s between the server IP and client IP? follow the equipment path
if just a switch then there must be a software / config compatibility in the host which is off.
I think the VPN has an MTU problem/mismatch. I reconfigured it to use TCP and the connection seems stable (ie, Android Plex player is (reliably?) connecting through VPN and streaming TV). I may revisit this in the future and reinstitute UDP (or not, if it continues to stream well). I have some remote Rokus w/Plex that I yet need to test.
In summary, this VPN/Plex configuration appears to work. Whatever communication is necessary with plex.tv occurs outside of the VPN (gatewayed by the PM/VPN server on my local network <=> my router) . I have disabled remote access on the PMS, so all remote access needs to go through the VPN which is what I ultimately desired.