As i can up my server to the internet?
Here, the script that starts the server:
#!/bin/bash
while true
do
/home/marte/UrbanTerror42.ded/Quake3-UrT-Ded.x86_64 +set fs_game q3ut4 +set dedicated 2 +set net_port 27960 +set com_hunkmegs 128 +exec server_example.cfg +exec addbots.cfg
echo "server crashed on `date`" > last_crash.txt
done
I have to create a random IP, or use the IP of my PC in script?
i have a local server (LAN) of Urban Terror.
Advertisement
Page 1 of 1
Sending the server to the Internet
#2
Posted 17 January 2015 - 09:43 AM
Use the local IP address of your server eg. 192.168.1.10 -
You should also configure your router to forward traffic received on port 27960 to your server. If necessary, set the IP address of the server as static in the router's DNS settings.
#!/bin/bash
while true
do
/home/marte/UrbanTerror42.ded/Quake3-UrT-Ded.x86_64 +set fs_game q3ut4 +set dedicated 2 +set net_ip 192.168.1.10 +set net_port 27960 +set com_hunkmegs 128 +exec server_example.cfg +exec addbots.cfg
echo "server crashed on `date`" > last_crash.txt
done
You should also configure your router to forward traffic received on port 27960 to your server. If necessary, set the IP address of the server as static in the router's DNS settings.
[img]http://i.imgur.com/OQ7HC64.gif[/img]
#3
Posted 17 January 2015 - 04:15 PM
thelionroars, on 17 January 2015 - 09:43 AM, said:
Use the local IP address of your server eg. 192.168.1.10 -
You should also configure your router to forward traffic received on port 27960 to your server. If necessary, set the IP address of the server as static in the router's DNS settings.
#!/bin/bash
while true
do
/home/marte/UrbanTerror42.ded/Quake3-UrT-Ded.x86_64 +set fs_game q3ut4 +set dedicated 2 +set net_ip 192.168.1.10 +set net_port 27960 +set com_hunkmegs 128 +exec server_example.cfg +exec addbots.cfg
echo "server crashed on `date`" > last_crash.txt
done
You should also configure your router to forward traffic received on port 27960 to your server. If necessary, set the IP address of the server as static in the router's DNS settings.
I have to add the LAN IP (local IP) or IP WAN (IP provided by my service provider)?
This post has been edited by Andersson: 17 January 2015 - 04:16 PM
#4
Posted 18 January 2015 - 11:13 AM
Andersson, on 17 January 2015 - 04:15 PM, said:
I have to add the LAN IP (local IP) or IP WAN (IP provided by my service provider)?
LAN IP (local IP).
[img]http://i.imgur.com/OQ7HC64.gif[/img]
Page 1 of 1