Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save paladini/8760bac7cd505a7206e460e867090cf0 to your computer and use it in GitHub Desktop.
Save paladini/8760bac7cd505a7206e460e867090cf0 to your computer and use it in GitHub Desktop.
How to open / allow Guild Wars 2 ports on Linux / Ubuntu

Opening ports needed by Guild Wars 2 when running on Lutris in Ubuntu 20.04 or any other Linux distributions.

Based on instructions listed here.

1) Allow Port 6112

Open Your Terminal and enter the following commands to open port 6112 UDP and TCP:

sudo ufw enable
sudo ufw allow from any to any port 6112 proto udp
sudo ufw allow from any to any port 6112 proto tcp
sudo ufw allow 6112

2) Allow Port 443 (TCP/UDP)

Run the following commands to open port 443:

sudo ufw allow from any to any port 443 proto udp
sudo ufw allow from any to any port 443 proto tcp
sudo ufw allow 443

3. Conclusion

After that, you can connect correctly to Guild Wars 2 servers from Lutris. This fix solves the following error code: ""The game client is unable to gain access to the log-in server at this time. This is most commonly caused by firewall or router settings, security applications, or connecting through a campus network. For additional support, please visit http://support.guildwars2.com."

@alhassanmoses
Copy link

alhassanmoses commented Feb 6, 2021

This just totally broke my game, please how do I remove those rules from my ufw...?? For now I just disabled my ufw...

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