This article is a tutorial how to run dedicated servers at your home computer. Principles and methods described here works universaly, not only for Crysis dedicated server, but any other server (for example www server).
This is not an easy task for beginners, because you have to know little about computer networks and you must know your home network structure.
1. Firstly you need to make your computer accessible from the external network (the internet)
by IP address.
Most of the home networks have one of the following forms:
a) You have just one computer and this computer is connected directly to the internet
without any modem or router. In this case your computer is set to use the IP address
given by your internet provider and it is accessible from the internet by using this IP.
b) You have multiple computers at home, but your provider gave you as many IP addresses as
computers. Your computers are connected together with a switch or a router without NAT
(Network Address Translation). In this case your computer uses one of the given addresses
and it is accessible from the internet by using this IP.
c) You have multiple computers, but your provider gave you only one IP address. This means,
computers must be connected to a router with NAT feature, which translates all computers
IP addresses (internal addresses) into single IP address (public address) shown in the
internet. The client trying to connect to your server using the public IP is stuck,
because this address belongs to the router and router doesn't know, to which computer
he should send the request.
To find out if your computer is accessible trough its IP, open command line and type
"ipconfig", then find your device and read "address IPv4". This is your internal IP, which
belongs to the computer. Next go to website http://whatismyipaddress.com/ and read the
address there. If they equal, you have case a) o b), if they don't equal, you have case c)
and you have to setup the router to redirect communication comming at the server port to
your computer. This is called "port forwarding" or "virtual server".
How to forward ports depends much on the router manufacturer. I can only show you, how it
looks like on my TPLink:
1. Open web browser and enter address of the router (usually 192.168.1.1 or 192.168.0.1).
http://s10.postimg.org/7otvbytkn/Setup_Router2.png[/img]
3. What you will see next can be very different on different types of routers.
First you must assign your PC a static IP address (or it will be different everytime
you boot up computer). Search for sections called "DHCP" and "address reservation" or
"static adresses" or "assigned addresses" or something like that. Add a new rule
assigning any IP address you like within range 192.168.0.2 - 192.168.255.254 to your
computer hardware address (MAC address). You can find the MAC address in command line
by typing "ipconfig /all" at line marked as "physical address".
[img]http://s12.postimg.org/yosqp3gy3/Setup_Router3.png[/img]
4. Now you have to search for section "port forwarding" or "virtual server".
Then add a new rule telling, that everything comming at server port should be redirected
to your computer IP address. Fill server in server port in both source and target
(Crysis uses 64087), choose protocol (for Crysis UDP) and in target IP address type
the static address you have assigned before.
[img]http://s2.postimg.org/wepx6cy6v/Setup_Router4.png[/img]
5. also be sure to disable any firewalls at the router
[img]http://s27.postimg.org/ljfnu2d41/Setup_Router5.png" target="_blank">http://s10.postimg.org/7otvbytkn/Setup_Router2.png[/img]
3. What you will see next can be very different on different types of routers.
First you must assign your PC a static IP address (or it will be different everytime
you boot up computer). Search for sections called "DHCP" and "address reservation" or
"static adresses" or "assigned addresses" or something like that. Add a new rule
assigning any IP address you like within range 192.168.0.2 - 192.168.255.254 to your
computer hardware address (MAC address). You can find the MAC address in command line
by typing "ipconfig /all" at line marked as "physical address".
[img]http://s12.postimg.org/yosqp3gy3/Setup_Router3.png[/img]
4. Now you have to search for section "port forwarding" or "virtual server".
Then add a new rule telling, that everything comming at server port should be redirected
to your computer IP address. Fill server in server port in both source and target
(Crysis uses 64087), choose protocol (for Crysis UDP) and in target IP address type
the static address you have assigned before.
[img]http://s2.postimg.org/wepx6cy6v/Setup_Router4.png[/img]
5. also be sure to disable any firewalls at the router
[img]http://s27.postimg.org/ljfnu2d41/Setup_Router5.png" style="max-width: 100% cursor: pointer;">
2. The next step is to unblock the server application in software firewall installed in your
computer.
Again, the exact procedure depens on the software you use so i can't help you with it.
You must create a new rule to allow the application (in Crysis
BinXX\CrysisDedicatedServer.exe) to listen on dedicated port (in Crysis 64087).
All parameters of the rule for Crysis are:
Action: allow; Direction: both; Protocol: TCP & UDP; Remote IP: every; Remote port: every;
Local application: ...Crysis\BinXX\CrysisDedicatedServer.exe; Local port: 64087
❤️ 0