airmon-ster / SCCT-LAN-Breakout

PS2 Splinter Cell Chaos Theory LAN over the internet
2 stars 0 forks source link

Host new holepunch server #22

Open SPEARTECH opened 5 days ago

SPEARTECH commented 5 days ago

Host a new version of the Testserver so Stew can use his closet.

airmon-ster commented 4 days ago

Everything needed for stand up:

sysctl net.ipv4.ip_forward=1
iptables -t nat -D PREROUTING -p udp --dport 3658 -j DNAT --to-destination <host ip>
iptables -t nat -A POSTROUTING -p udp --dport 3658 -j MASQUERADE
iptables -t raw -A PREROUTING -p udp --sport 3658 -m length --length 1100:1300 -j DROP

mkdir server
apt install python3-pip
apt install python3.12-venv
cd server
python3 -m venv ./.venv
python -m pip install -r requirements.txt
nano /etc/systemd/system/scct.service
systemctl enable scct
airmon-ster commented 4 days ago

working on automating via Linode. $5 a month per server should be straightforward and fast