Jump to content


Photo
- - - - -

Networking Assistance Running Concurrent Minecraft Servers


  • Please log in to reply
5 replies to this topic

#1 JBags

JBags

    Geek

  • Members
  • PipPipPip
  • 583 posts
  • Gender:Male
  • Location:Central NJ

Posted 10 April 2013 - 07:35 AM

Hey OCC,

 

Due to unanimous request from my friend and his WoW buddies, I am now running a Feed The Beast server alongside my vanilla minecraft server on the same dedicated machine.

 

Everything works fine, I just desire a more "elegant" solution. Currently, players connect as follows:

 

Vanilla: mc.bagnet.tk

FTB:     mc.bagnet.tk:7175
 

It works, but I want to eliminate that port from the URL. I'd like to have it like:

 

Vanilla: mc.bagnet.tk

FTB:     ftb.bagnet.tk

 

I have the appropriate A records and CNAMEs set up with my domain.

 

If I set the URL to the server-ip parameter in the server.properties file, it fails to bind. I did this fine for the server's map website in IIS7, which is bound to www.bagnet.tk:80 (www.bagnet.tk will take you to the site in a web browser, but ftb.bagnet.tk wont). So I assumed it would be possible to do this with MC servers, too, with one bound to mc.bagnet.tk:25565, and the other ftb.bagnet.tk:25565.

 

So those of you with more networking experience than I, is my "end goal" possible to accomplish? I figure there's other ways to get this done, that I just don't know about...


« Intel Core i7 4770K cooled by Noctua NH-D14 »
« MSI Z97 Gaming 7 | 16GB G.Skill Trident X DDR3-2400 »
« Sapphire Radeon R9 290 Vapor-X »
« Corsair HX850 PSU | CM 690 II Advanced | Samsung 2333SW 23” 1080p »
« Samsung 840 EVO 250GB 
WD Caviar Black 640GB | WD Caviar Green 1TB »

« Windows 8.1 Professional x64 »

 

Join my Minecraft Server: mc.bagcraft.tk // FTB: ftb.bagcraft.tk


#2 Nephilumos

Nephilumos

    Member

  • Members
  • PipPip
  • 248 posts
  • Gender:Not Telling

Posted 27 April 2013 - 08:28 PM

Unfortunately, that won't work.  The only way you'll be able to pull what you're looking to do off is if you have 2 different WAN IP's, or "Public IP's".

Reason being, both of those names are going to resolve to your WAN IP without regard to your port.  Your A record won't have the option to change what port it's going to resolve to.

 

Edit: This is all assuming you're behind a NATed router, which most people are.


Edited by Nephilumos, 27 April 2013 - 08:58 PM.

I refuse to cook poop with a computer...thanks

Main Rig:
Antec 1200
Asus Maximus VI Hero
i7 4770K @ 3.5GHz w/HT
16GB G.Skill Ripjaws 1600MHz RAM
EVGA GTX670 4GB

Corsair H100i
Corsair Enthusiast 850w PSU

Heatware


#3 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9698 posts
  • Gender:Male
  • Location:Madison, IN

Posted 28 April 2013 - 08:08 AM

Actually this can be done with a single public IP using virtual hosts (there are other ways but this is normally the simplest for people to understand and implement). How do you think web hosting companies host hundreds of sites off same IP and server? :)

Without more info about your setup and network infrastructure it will be difficult to help you set this up though.

Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team


#4 Nephilumos

Nephilumos

    Member

  • Members
  • PipPip
  • 248 posts
  • Gender:Not Telling

Posted 28 April 2013 - 09:01 AM

Actually this can be done with a single public IP using virtual hosts (there are other ways but this is normally the simplest for people to understand and implement). How do you think web hosting companies host hundreds of sites off same IP and server? :)

Without more info about your setup and network infrastructure it will be difficult to help you set this up though.


Huh. I don't doubt your networking prowess, Nerm. I'll have to look into it a bit. Trying to wrap my head around how you'd do it while waiting for food at IHOP isn't working though lol.

I refuse to cook poop with a computer...thanks

Main Rig:
Antec 1200
Asus Maximus VI Hero
i7 4770K @ 3.5GHz w/HT
16GB G.Skill Ripjaws 1600MHz RAM
EVGA GTX670 4GB

Corsair H100i
Corsair Enthusiast 850w PSU

Heatware


#5 d6bmg

d6bmg

    BMG FTW!!

  • Members
  • PipPipPipPipPip
  • 4149 posts
  • Gender:Male

Posted 28 April 2013 - 10:44 AM

Easily possible via PAT.

Redirect the incoming traffic to your ftb.bagnet.tk:80 to <your_ip>:7175

Make a static NAT mapping and configure the port for the same in the firewall you use.

 

P.S. I don't know whether the 'regular' routers have the capacity to build PAT table or not.


Edited by d6bmg, 29 April 2013 - 02:11 AM.

boozei.gif


#6 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9698 posts
  • Gender:Male
  • Location:Madison, IN

Posted 28 April 2013 - 11:19 AM

Yes PAT would be another way to do it if he has the equipment for it.

lol @ nephilumos, yea do stuff like that on a regular basis.

Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team