Hey all 
I have an interesting situation.
I have launched a Plex Server that is sitting on a hosted provider. (in Germany, 10 points to guess which one
)
Since my home bandwidth is not good enough to stream directly from it, I have setup a VPS very local to me, and setup HAProxy on that VPS exposing port 32400. The VPS has fast backbone connectivity back to the Plex Server. (In the HAProxy configuration, the backend server is the Plex server).
I then setup Plex to use a Custom Server Access URL, like so: https://plex.example.com:32400
Then in Route53 (AWS) which hosts the DNS for plex.example.com I said that my country (GeoIP) must resolve the VPS rather than the origin Plex server. Which works like a charm.
However from doing TCPDumps, it seems that when my Plex Client connects it does an initial handshake with the VPS hosted locally, but then all streaming goes via the Public IP of the Plex Server, meaning it does not really improve my situation for streaming.
My question is, do Plex Clients query DNS based on the Custom server access URLs? or once it queries that URL does plex.tv automatically return the PublicAddressManager IP of the server? (The the Plex Server published in the first place)
Basically what I am trying to do is make the Plex Clients goto a specific IP address based on GeoIP (which I am doing via DNS) instead of using the Public IP of the server.
Anybody played with this before?
Regards,
KorteX