Proxy Server for older Samsung Smart-TVs which only support TLS up to 1.1
2.8K
Proxy Server for older Samsung Smart-TVs (E/F/H - Series) which only support TLS up to 1.1
Download the corresponding binary for your system from the latest releases and run it. You might want to run the binary on system start. This is different for each system but in the future the proxy will install itself if needed.
Notice: this will only work, if the system you are running on, is on the same network as your TV and has not yet a service running on Port 80, because this is needed by the TV to download new Apps. I.e.: Sideloading will not work on non-rooted Android Phones, as the Port 80 is blocked. Running just the proxy on non-rooted Android phones does work. So the initial Setup for sideloading has do be done via another machine if your android device is not rooted - in that case just use your usual Windows/Mac/Linux Device and do the sideloading. Afterwards you can use your android device to run the proxy.
This process has only to be done once. So after the app has been installed via this method, it stays on the TV!
Proxy4plex will automatically download the the plex-app and modify it for network-sideloading. If, for whatever reason, you want to predownload the app yourself, and place it in the same folder as the executable for proxy4plex.
proxy4plex binarySmarthub on your TVRed button on the remote to login to an accountdevelop for username, password should fill automatically, if it does not, use 111111Tools button on the remote and select Settings while within SmarthubDevelopment and accept the agreement after reading itServer-IP-Settings and enter the local IP-Adress of your machine running proxy4plexSynchronize and the app will be installed permanentely on the TVproxy4plex binaryMenu on your TV-RemoteSmart Hub / Samsung Account / Logindevelop for username, password should fill automatically, if it does not, use anySmarthub / Samsung Apps on your TV to display all installed Apps (not just the small ribbon when pressing the Smarthub button on the remote)OK-Button on your remote for about 5 seconds until a new menu appearsIP Setting and enter the local IP-Adress of your machine running proxy4plex6) and select Start User App Sync. The app will be installed permanentely on the TVNote that you can run the TV-App without the proxy after you logged in the first time. The app will then run in "Offline" mode. However you cannot switch users without the proxy though.
On Android this package is currently not yet available as native app. Nevertheless it can be executed, albeit with a little tinkering. To do that, follow these steps:
pkg install git golang which will install the needed toolsgit clone https://github.com/kadrim/proxy4plexcd proxy4plexgo build./proxy4plexAfter that you can use the IP-Adress of your android device for your Plex-App on the TV. If you close termux or reboot your device you can simply re-run the proxy by starting termux and then starting the proxy via the command proxy4plex/proxy4plex
Beware: Sideloading (i.e. installing the app on the TV) does not work this way, because non-rooted Android devices are not allowed to use Port 80
At the time of writing, this package needs at least golang v1.17
To compile a binary for your currently running system, simply run this command:
go build
To compile for all possible architectures you can run the command go-build-all.sh from a bash terminal (works also on windows in a git-bash terminal). The output binaries will be put into the directory build/
You can easily run this proxy as a Docker container:
docker pull kadrim/proxy4plex
docker run -it -p 80:80 -p 3000:3000 --rm kadrim/proxy4plex
or
docker build -t proxy4plex .
docker run -it -p 80:80 -p 3000:3000 --rm proxy4plex
docker buildx create --name crossbuilder
docker buildx use crossbuilder
docker buildx inspect --bootstrap
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t kadrim/proxy4plex:latest --push .
If you prefer, you can run this via docker-compose or Portainer by creating a file called docker-compose.yaml and adding this content:
version: "3"
services:
proxy4plex:
image: kadrim/proxy4plex
container_name: proxy4plex
ports:
- 80:80
- 3000:3000
restart: unless-stopped
The standard behaviour of the program can be altered using the following CLI-Args:
| Argument | Description |
|---|---|
| -h | Display all available CLI-Arguments |
| -disable-sideloading | This Option will disable sideloading and prevent the use of Port 80 by the Application |
I developed this package in my free time. If you like it and want to support future updates, feel free to donate here:
Thanks in advance :-)
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Content type
Image
Digest
sha256:3ea3eb0c4…
Size
111.7 MB
Last updated
over 3 years ago
Requires Docker Desktop 4.37.1 or later.