.\" manual page generated by Amethyst (mdoc+tbl) .Dd helmikuuta 4, 2021 .Os .Dt "DOOMSDAY-SERVER" 6 .Sh NAME doomsday-server \- Doomsday Engine multiplayer daemon .Pp .Sh "SYNOPSIS" .Sy doomsday-server .Op Fl stdout .Op Fl port Ar tcp-port .Op Fl iwad Ar dir .Op Fl game Ar mode .Op Fl v .Op Fl file Ar file ... .Pp Note that the command line is not interpreted according to GNU conventions. Everything following .Sy -- is ignored. .Sy @ can be used to specify a response file whose contents are added to the command line. .Pp .Sh "OPTIONS" .Bl -tag -width 8n .It Sy -file | -f Specify one or more resource files (WAD, LMP, PK3) to load at startup. More files can be loaded at runtime with the .Sy load command. .It Sy -game | -g Sets the game to load after startup. See doomsday(6) for a list of available games. For example: .Pp .Bd -ragged -offset indent -game doom1-ultimate .Ed .Pp If .Sy -game is not specified and the server is unable to choose a game automatically, the server will quit. .It Sy -iwad Specifies a directory where to look for IWAD files. Doomsday will search for IWADs from all known games and automatically load them when needed. Note that you can also use the DOOMWADDIR environment variable or the paths configuration file to specify the location of the IWAD files. .It Sy -port TCP port that the server listens to for incoming connections. .It Sy -stdout Prints all log entries to the standard output. If this option is not used, nothing is printed so that the server can be run as a background process. .It Sy -verbose | -v Print verbose log messages. Specify more than once for extra verbosity. .El .Pp In addition to these, .Sy doomsday-server supports many of the command line options of doomsday(6). .Pp .Sh "OPERATING A SERVER" Doomsday servers are, by default, silent daemon processes intended to be run in the background. You need to use the Doomsday Shell to monitor their status and control them. .Pp .Ss "Firewall and NAT" .Pp Doomsday uses TCP network connections for multiplayer games. If you host a game and are behind a firewall or using NAT, you must make sure that other computers are able to open TCP connections to your computer. This entails opening the appropriate incoming TCP ports on your firewall and/or configuring the NAT so that the correct ports are routed to your computer. .Pp Additionally, UDP ports 13209-13224 are used for detecting servers running on the local network; if you are experiencing problems with autodetecting local servers, check that your firewall isn't blocking these UDP ports on either end. .Pp A server opens one TCP port for listening to incoming connections. The port must be open for incoming TCP traffic in the firewall. The port number is configured with the console variable net-ip-port. By default, a server uses TCP port 13209. .Pp You can see status information about the network subsystem with the console command: .Pp .Bd -ragged -offset indent net info .Ed .Pp .Sh "SEE ALSO" doomsday(6), doomsday-shell-text(6) .Pp .Sh "AUTHOR" This documentation has been written by Jaakko Ker\[:a]nen .