Skip to content

Configuring your Network

andy edited this page Dec 31, 2020 · 4 revisions

⚠️ You must forward port 19567 to the Avara machine on whatever router you use to connect to the internet even if you are only playing as a client and do not plan on hosting a server. ⚠️

This is because of Avara's P2P networking architecture, in which other clients will connect directly to you, forwarding information in a round-robin fashion. Most networking issues can be solved by ensuring this port is forwarded correctly. We have seen that some user routers are able to figure out a working NAT for Avara some of the time automatically without assistance, but not consistently. It is better to set a rule explicitly.

The default port number of 19567 can be changed in the prefs.json file, but this is not recommended as all clients must also update this value if they wish to connect. This can be useful for connecting via a tunnel or proxy however.

One player per internet connection. Because of the way Avara is set up to directly connect to single machines, routers will not be provided with enough information to forward (or NAT) the packets to the correct machine if there is more than one machine connected on the same local network.

This means that if you have two machines using the same internet connection, which is typical in most home networks, two players using that network cannot connect to the same external internet server and play together.

A typical solution to this problem is to have the second player connect via a VPN, separate ISP connection, or proxy/tunnel.