#Proxy

90 messages · Page 1 of 1 (latest)

open arch
midnight fossil
open arch
#

Nevermind, I fixed that because I had a dedicated port, and I set the server up in the config.yml to: ip:25565 when I had to do just the ip.

keen tigerBOT
#

@open arch, you just advanced to level 1 !

open arch
#

Is it possible for me to set my proxy up, so that I can directly connect to my gamemode server, without going threw the hub? But, if the server stops it sends you to the hub.

midnight fossil
#

check config.yml for default server

open arch
#

Anywhere specific I need to go?

midnight fossil
old flame
#

What proxy?

open arch
#

Waterfall

open arch
old flame
#

In priorities, change the server name to whatever you want players to connect to when they join. Should also change force_default_server to true, if it's not already

#

If the server crashes, it should still send you to the hub as long as the hub is also listed in priorities under your game server

open arch
old flame
#

As opposed to the proxy ip?

open arch
#

Yes

#

The reason I want a hub and a proxy is so a player can go from one server to another quickly, and if the server stops it sends them to the hub

#

Basically, the proxy ip won't be used

old flame
#

I mean you can set it up using using sub domains and forced hosts, but most people dont do that because it opens more connections than are necessary

keen tigerBOT
#

@old flame, you just advanced to level 2 !

old flame
#

so you are only using the proxy so if your game server crashes, they dont get disconnected? are there any other gamemodes, or just game1, hub, and proxy?

open arch
#

Game1, game2, hub and proxy

keen tigerBOT
#

@open arch, you just advanced to level 2 !

open arch
#

Those are the servers

old flame
#

My message didnt send hold on

#

oh its flagging me for advertising

open arch
#

If I were to join my server, with my custom domain: domain.adsad, it will send them to game1. If the server crashes, they get sent to hub.

I am not going to let players join with the proxy ip, so the only way they can join the hub is by running /l in the game servers so that they can get to hub.

old flame
#

If you have a dedicated ip for each server and a domain, you can do “game1DOTmyservercom” and “game2DOTmyservercom” would send them to the respective server

open arch
#

Okay

old flame
#

you can also just make your main IP playDOTmyserverDOTcom go to a certain game server

#

by doing the priorities options

open arch
#

but if I join the server with the custom domain, this shows.

old flame
#

If you are joining through a gameserver ip you have to set the game server ip in the ip forwarding section of the bungee config

#

Sorry I forgot you werent using the proxy ip

open arch
#

Yeah

#

Sorry where?

old flame
#

Forced Hosts on line 8 I believe

open arch
old flame
#

You’re fine haha I haven’t set one up in a while so I’m kind of testing myself here. The ip should be the ip for your game server, and the name next to it should be however you have the server named in bungeecord

#

I might be mistaken, but the sub domain might need to be pointed to the proxy server ip thru your dns so that the proxy can still route it correctly. That’s the one part I can’t remember

keen tigerBOT
#

@old flame, you just advanced to level 3 !

open arch
#

Hey @old flame sorry I was busy for a bit, but I'm back and still trying to make an attempt to do this

#

Have you got any suggestions on how to do it?

old flame
#

No problem, I’m at work for another 4 hours but for now i would refer to the last message I sent and see if that works

midnight fossil
open arch
#

I want it so that people can directly join a gamemode server, instead of going threw the proxy

midnight fossil
midnight fossil
#

And in the forced host sectokn

#

Add

#

your domain: server u want to connect to

#

Anyone joining via the domain will be forwarded to the specified server

open arch
#

Alright

open arch
keen tigerBOT
#

@open arch, you just advanced to level 3 !

midnight fossil
open arch
#

Ah okay

#

Do you have any tutorial for this? Sorry I am pretty new to proxies so just trying to gather all of this.

old flame
#

It’s one of those muscle memory things at this point so i dont really have a tutorial. as far as im aware, you need to point the domain to the proxy, and then set that same domain in the forced hosts section to point to that game server. No matter what you do, players will always join through the proxy and then get forwarded to a game server within the proxy

midnight fossil
open arch
#

Which I have

old flame
#

Are you familiar with dns?

open arch
#

I mean I know how to use it

old flame
#

Okay so first you need to make an A record for whatever you want your ip to be, so “play” would translate to playDOTmyserverDOTcom pointed to the IP of your proxy server.

Then you need to add that same entry “playDOTmyserverDOTcom: GAMESERVER” to the forced hosts section of your bungee config.

Then when players connect to playDOTmyserverDOTcom, they join through your proxy, but the proxy will redirect them to the game server through the forced hosts section.

#

Players will always join via your proxy server, and the proxy will reroute them without the player ever knowing

midnight fossil
#

they will still be able to interact with the proxy via /server

#

it's just an auto-join this server kind of thing

#

not a avoid the proxy

open arch
#

Because the port doesn't work

#

It just says invalid

old flame
#

So if you don’t have a dedicated ip, you would leave the port out of that, and use playDOTmyserverDOTcom:PORT to connect

#

the a record would just be the ip without the port. i highly suggest getting a dedicated ip

open arch
#

Shoot alright, I'll get a dedicated ip tomorrow

open arch
old flame
#

no problem, just let me know if you need anything

open arch
#

And this is what you mean by forced hosts?

midnight fossil
#

so if you connect to ur domain you will go to ur server

open arch
#

Alright

old flame
#

I may be wrong, but im almost positive you must have port 25565 (dedicated ip) to use forced hosts correctly

midnight fossil
open arch
#

So do I have an SRV record or an A name record.

old flame
#

Nitrogen knows more than me about that