Page 1 of 1

Need help for server creation

PostPosted: Mon Nov 26, 2012 13:52
by markveidemanis
hi, i am running lubuntu on my pc and i would like to know how to setup a server the simple way.
mostly, i need a simple way to forward ports and allow other players to connect.

about (future) server
will have a no-mapgen world (void world) in which will be built some houses made by me and a wizard's tower, also built by me
mods list (not final)
building blocks - edited
madblocks
homedecor
3dforniture
maptools
moreblocks
custom blocks
mesecons
xfences
i may add or remove any mod at any time (after informing players on server)

because this server will be a void world, players may need to have worldedit privilege so may need to ask on forum
privs: shout, interact,fly,fast,teleport,(worldedit)

server will be in creative mode

please help me to set all this up

PostPosted: Fri Nov 30, 2012 03:03
by Leroy

PostPosted: Fri Nov 30, 2012 03:38
by davidpace
chill out Leroy, he's not dumb just because he doesn't know how to set up a server. I don't even know exactly how to. :)
Leroy wrote:Go see http://minetest.net/forum/viewtopic.php?id=1037 don't be dumb like this.

PostPosted: Fri Nov 30, 2012 04:48
by Leroy
Sorry markveidermanis, I don't know how but can help.

PostPosted: Fri Nov 30, 2012 13:56
by markveidemanis
i was hoping someone could cooperate with me in making a server
for example running it on their machine and being an admin along with me
this would probably be for the best as my internet is very slow.

PostPosted: Fri Nov 30, 2012 14:32
by davidpace
Sorry, I don't know how exactly to create a server, and even if I could, I don't have the money to rent a 24/7 one, and the computer I use isn't fast enough to just leave it open all the time :(

PostPosted: Fri Nov 30, 2012 17:08
by markveidemanis
the server doesn't need to be on all the time, just for a bit, can post on forum when its on and when it is offline.
i just need someone to be able to host a server and do all that port-forwarding that you need to do so someone can join the server.

PostPosted: Fri Nov 30, 2012 17:53
by davidpace
I do not know how to do that :(

PostPosted: Fri Nov 30, 2012 19:22
by playzooki
If its the port forwarding that is the problem, I am having the exact same problem. I cannot find my router password. My router is a sagem.

PostPosted: Fri Nov 30, 2012 21:05
by Calinou
markveidemanis wrote:this would probably be for the best as my internet is very slow.


To host one player, you need about 80 kbits/sec (upload and download) bandwidth, you and your local computers being excluded if you play on your own server using those. So you can't host a server if you have a very slow connection, like a 56k modem. :)

You have to forward port 30000 in UDP in your router's interface (usually you can access it with http://192.168.1.1 or http://192.168.1.0), you also have to allow port 30000 in UDP in your computer's firewall (you can also just disable it). Then you can start a server in the "Advanced" tab; put no address in the address field and it will start a server.

PostPosted: Sat Dec 01, 2012 14:23
by markveidemanis
i tried the links, it says: "Oops! Google Chrome could not connect to 192.168.1.1"
i tried both.
if it helps, i have bt broadband.
i dont think i have a firewall: i have lubuntu

PostPosted: Sat Dec 01, 2012 15:08
by markveidemanis
also,
why is the topic name no longer in capitals?

PostPosted: Sun Dec 02, 2012 13:02
by RabbiBob
markveidemanis wrote:hi, i am running lubuntu on my pc and i would like to know how to setup a server the simple way.
mostly, i need a simple way to forward ports and allow other players to connect.


As mentioned in the server creation thread, you'll need some knowledge of how to control your network devices.

In most Linux distros to get your gateway (most likely your router in a simple home setup), use "route -n" and read the info that is displayed.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
user@somelinux:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.25.4.1      0.0.0.0         UG    100    0        0 eth1
172.25.4.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.25.4.0      0.0.0.0         255.255.255.0   U     0      0        0 eth4
user@somelinux:~$


In the example above the gateway for eth1 is 172.25.4.1

To find the IP for your adapter (eth1), use "ifconfig eth1"

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 10:20:fb:26:42:f4
          inet addr:172.25.4.204  Bcast:172.25.4.255  Mask:255.255.255.0
          inet6 addr: ef30::290:faff:fb06:21f3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:331344 errors:0 dropped:14 overruns:0 frame:0
          TX packets:176388 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:210806852 (210.8 MB)  TX bytes:22221983 (22.2 MB)


From the above I know that I need to log into my router (http://172.25.4.1) and create a port forward from there to my server (172.25.4.204) and include the port that I defined in my Minetest configuration file (ex: 30000).

You'll need to figure out how to log into your router and set the port forwarding (and that usually can be done by Googling "<model of router> port forward".

To see if you have a firewall on your server one of the easiest ways is to use another computer at your home to connect to your server as this takes the router of the equation. For example I would start the server on my .204 server and then start the client on another computer on the same network. I'd connect to 172.25.4.204 port 30000 - if that worked then I know I can get to the server. If not, you may have a firewall.

PostPosted: Sun Dec 02, 2012 15:50
by markveidemanis
i can't run the server locally, i was suggesting that someone could cooperate with me in making a server, as in run the server on their machine.
my computer is too slow to run a server without lagg.

PostPosted: Sun Dec 02, 2012 16:25
by markveidemanis
ok port forwarding done (still think pc is too slow)
how do i get ip address that people will connect to

PostPosted: Sun Dec 02, 2012 18:06
by RabbiBob
The answer is in the first post