Skip to content

Instantly share code, notes, and snippets.

@kiview
Created November 1, 2020 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiview/d78ea5735c7e89ffd74d5ecea499cacd to your computer and use it in GitHub Desktop.
Save kiview/d78ea5735c7e89ffd74d5ecea499cacd to your computer and use it in GitHub Desktop.
Setup descriptions for acc game server with accweb in Oracle Cloud on Ubuntu

Create computing instance (e.g. VM.Standard2.1)

Install wine apt install wine

Copy accServer.exe to ~/accServer/accServer.exe

Download accweb release https://github.com/assetto-corsa-web/accweb/releases/download/1.11.2/accweb_1.11.2.zip

Open ports in optables (use -I 6 to be before reject rule)

sudo iptables -I INPUT 6 -p tcp --dport 8080 -j ACCEPT
sudo iptables -I INPUT 6 -p tcp --dport 2600:2700 -j ACCEPT
sudo iptables -I INPUT 6 -m udp -p udp --dport 2600:2700 -j ACCEPT
sudo netfilter-persistent save

Configure Ingress Rules in Oracle Cloud Security List

  • TCP 8080
  • TCP 2600-2700
  • UDP 2600-2700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment