How do I set up a LAN game?

Solution 1:

So you want to set up a LAN game server?

Server setup
Install the game as per the instruction provided by the game authors.
Be sure to adjust any config files as needed to specify the port you want to run the game on.
If using UFW on the server you need to have an allow rule. Example:

anthony@minecraft:~$ sudo ufw allow from 192.168.1.0/24 to any port 25565
Rule added
anthony@minecraft:~$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
25565                      ALLOW       192.168.1.0/24

The 192.168.1.0/24 there means that any lan ip in the 192.168.1.x range is allowed to connect.
Be sure to use the port the game server is listening on.

Router/Firewall setup
The router you use will also have to allow the traffic from the lan to go to the game server. The steps required for this vary between router makes and models. The term for this is Port Forwarding. This site has step-by-step guides for an extensive list of routers and games. Although freeciv isn't listed there, the steps to forward your port for the router you have will most likely be. Take caution to not open your server up to the whole world unless you know what you are doing.

Good luck on your journey!