Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.47 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.47 KB

Install the prerequisite applications

Install the 0ad ansible role

# Create a directory for the ansible role. 
install -d ~/.ansible/roles/computate.computate_0ad

# Clone the 0ad ansible role. 
git clone [email protected]:computate-org/computate_0ad.git ~/.ansible/roles/computate.computate_0ad

# Change into the 0ad ansible role directory. 
cd ~/.ansible/roles/computate.computate_0ad

Run the 0ad ansible playbook to install 0ad locally.

ansible-playbook install.yml

Set up firewall on each computer

# For example on your computer
sudo firewall-cmd --add-port=20595/udp --zone=trusted --permanent
sudo firewall-cmd --add-port=20595/udp --zone=trusted
sudo firewall-cmd --add-source 192.168.86.190/24 --zone trusted
sudo firewall-cmd --add-source 192.168.86.190/24 --zone trusted --permanent

# For example on another computer
sudo firewall-cmd --add-port=20595/udp --zone=trusted --permanent
sudo firewall-cmd --add-port=20595/udp --zone=trusted
sudo firewall-cmd --add-source 192.168.86.37/24 --zone trusted
sudo firewall-cmd --add-source 192.168.86.37/24 --zone trusted --permanent