Skip to content

Instantly share code, notes, and snippets.

@paulscode
Created July 23, 2025 14:26
Show Gist options
  • Save paulscode/429dfc078312252168e2072508d721b1 to your computer and use it in GitHub Desktop.
Save paulscode/429dfc078312252168e2072508d721b1 to your computer and use it in GitHub Desktop.
SimpleProxy on Start9 for Datum Gateway

Installing and Running simpleproxy

For StartOS v0.3.5.1 you'll need to do the following:

ssh in to your Start9 Server https://docs.start9.com/0.3.5.x/user-manual/ssh

Copy and paste the following lines of code one by one:

sudo -i

/usr/lib/startos/scripts/chroot-and-upgrade

apt install simpleproxy -y

Now copy and paste the following chunk of code in one command:

echo -e '[Unit]\nDescription=Simpleproxy Datum Forward\nWants=podman.service\nAfter=podman.service\n\n[Service]\nType=simple\nRestart=always\nRestartSec=3\nExecStartPre=/bin/bash -c "/bin/systemctl set-environment IP=$(ip route | grep default | awk '\''{print $9}'\'')"\nExecStart=/usr/bin/simpleproxy -L ${IP}:23334 -R datum.embassy:23335\n\n[Install]\nWantedBy=multi-user.target' > /lib/systemd/system/simpleproxy.datum.service

Next, copy and paste the following:

systemctl enable simpleproxy.datum.service

Then finally:

exit

Your server will now restart and will be accessible to miners on your LAN!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment