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!