What are the security implications for a server at home?

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

What are the security implications for a server at home?

by Casimir » Thu Apr 24, 2014 17:33

I heard that it is not a good idea to host a server at your own home. But I would like to have a small nodetest-server to test how it behaves and to experiment with some other things.
So what are the security issues that come with it and how could I avoid them?
Would it be better to use a paid solution than my raspberry pi?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: What are the security implications for a server at home?

by rubenwardy » Thu Apr 24, 2014 18:00

The main one I can think of is people will know your IP Address.

There also might be bad bugs in the software, that override your software.

And there may be vulnerabilities in your home network.
 

User avatar
Megaf
Member
 
Posts: 93
Joined: Fri Nov 01, 2013 18:00
GitHub: megaf
IRC: Megaf
In-game: Megaf

Re: What are the security implications for a server at home?

by Megaf » Thu Apr 24, 2014 18:10

Casimir wrote:I heard that it is not a good idea to host a server at your own home. But I would like to have a small nodetest-server to test how it behaves and to experiment with some other things.
So what are the security issues that come with it and how could I avoid them?


Casimir,

It depends on a lot of factors. I believe it's pretty safe to host a minetest server at your home, you just have to know something about things like DMZ and NAT.

At my home I'm running two minetest server, so I set up two NATs, one for port 30003 and other for 30002. All other ports are either closed or invisible.

The major issue is exposing your IP to the world, but that happens too when you download a torrent for example.
Casimir wrote:Would it be better to use a paid solution than my raspberry pi?



It depends, I asked myself that several times.
The answer was, it depends.
Using a paid solutions like a VPS, can be cheap and you will have access to really good links speeds, like 100 mbps or even more! So linkwise you can host dozens of players without any problem.
Problem is, a VPS have it's resources shared among several users, so if you are lucky you will have quite a lot of power only for you, if not, players on your server will experience a painful lag.

I used to have a linode VPS, paying around 20 USD/month for 8 core XEON CPU. But doing some test I noticed that even an old computer at my home could out perform that VPS.

Now a days I'm happy running two servers at my home. Only problem for me is my low internet speed, only 100 KB/s of upload, so I set the player limit to 7 in one server and 11 in another..

It may not be a good idea to use your Raspberry Pi for a real server, unless you use a quite tuned game as I'm doing, I'm making such game and I hope to get it to the point that is reliable enough so I can publish it on this forum.

You may have read already the topic about my Raspberry Pi server https://forum.minetest.net/viewtopic.php?f=10&t=9158
Take a look at this comment I made on another topic here https://forum.minetest.net/viewtopic.php?f=10&t=9138#p139136
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: What are the security implications for a server at home?

by sfan5 » Thu Apr 24, 2014 19:46

Megaf wrote:so I set up two NATs

Port forwards*
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

Re: What are the security implications for a server at home?

by mauvebic » Thu Apr 24, 2014 20:09

sfan5 wrote:
Megaf wrote:so I set up two NATs

Port forwards*

Isn't that basically network address translation? I guess it depends on your make of router, I had to go under NAT to set up port forwarding.
 

User avatar
Megaf
Member
 
Posts: 93
Joined: Fri Nov 01, 2013 18:00
GitHub: megaf
IRC: Megaf
In-game: Megaf

Re: What are the security implications for a server at home?

by Megaf » Thu Apr 24, 2014 20:25

sfan5 wrote:
Megaf wrote:so I set up two NATs

Port forwards*


Two NAT port forwarding rules.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: What are the security implications for a server at home?

by sfan5 » Thu Apr 24, 2014 20:26

mauvebic wrote:
sfan5 wrote:
Megaf wrote:so I set up two NATs

Port forwards*

Isn't that basically network address translation? I guess it depends on your make of router, I had to go under NAT to set up port forwarding.

Network Address Translation is an activity/technique, it has no plural (if you use it like this).
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

Re: What are the security implications for a server at home?

by mauvebic » Thu Apr 24, 2014 20:34

lol okay so he had the right term, just the wrong grammar :p
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 20 guests