Urban Terror Forums: Sending the server to the Internet - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1

Sending the server to the Internet Rate Topic: -----

#1 User is offline   Andersson Icon

  • Account: andersson
  • Joined: 07-May 14
  • Posts: 8

Posted 16 January 2015 - 05:24 PM

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.

#2 User is offline   thelionroars Icon

  •   QA member   
  • Account: thelionroars
  • Country:
  • Joined: 21-September 11
  • Posts: 853

Posted 17 January 2015 - 09:43 AM

Use the local IP address of your server eg. 192.168.1.10 -


#!/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.

#3 User is offline   Andersson Icon

  • Account: andersson
  • Joined: 07-May 14
  • Posts: 8

Posted 17 January 2015 - 04:15 PM

View Postthelionroars, on 17 January 2015 - 09:43 AM, said:

Use the local IP address of your server eg. 192.168.1.10 -


#!/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 User is offline   thelionroars Icon

  •   QA member   
  • Account: thelionroars
  • Country:
  • Joined: 21-September 11
  • Posts: 853

Posted 18 January 2015 - 11:13 AM

View PostAndersson, 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).

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Sponsored link
https://www.frozensand.com/


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942