Last Oasis

Last Oasis

View Stats:
robot_one Aug 10, 2021 @ 10:33am
Dedicated Server Setup
Anyone managed to get a dedicated server up and running with more than one oasis? I have followed the instructions to the letter, but can only access one oasis. Any others I add either time out or tell me I am not allowed to join them.
< >
Showing 1-14 of 14 comments
Joew Aug 11, 2021 @ 11:58am 
Just follow those steps:
https://docs.google.com/document/d/e/2PACX-1vTk67puClDitrjLeAT3NrkgGQAUD2ZWSgVkj_NUAbmT-rBa4Tejx4uY7_-4Gpn_swNKIMjoS-g7255O/pub

For multiple servers, you will need JUST ONE CUSTOMER KEY and 1 PROVIDER KEY for each server. So if you want host 3 oasis, you will need 1 customer key and 3 provider keys.
And you will need open:
- 2 ports for each server and 1 query port for each server too.

You can create your CustomerKey and all others ProviderKeys you want and set up your oasis here:
https://myrealm.lastoasis.gg/

You can get your external-ip (IPv4) here:
https://www.whatismyip.com/
If you do not have dedicated ip adress you must change the ip on all bats before start the servers.

So if u want 3 server, you will need something like this:

- Server 1:
Port: 50000 and 50001
Query Port: 27015

- Server 2:
Port: 50002 and 50003
Query Port: 27016

- Server 3:
Port: 50004 and 50005
Query Port: 27017

Create one bat file to launch each server:

Server 1:
start "LastOasis Server 1" MistServer.exe -log -force_steamclient_link -messaging -NoLiveServer -EnableCheats -backendapiurloverride="backend.last - oasis.com" -identifier=server_1 -port=50000 -CustomerKey=CUSTOMER-KEY-HERE -ProviderKey=PROVIDER-KEY-1 -slots=20 -QueryPort=27015 -OverrideConnectionAddress=YOUR-EXTERNAL-IP

Server 2:
start "LastOasis Server 2" MistServer.exe -log -force_steamclient_link -messaging -NoLiveServer -EnableCheats -backendapiurloverride="backend.last - oasis.com" -identifier=server_2 -port=50002 -CustomerKey=CUSTOMER-KEY-HERE -ProviderKey=PROVIDER-KEY-2 -slots=20 -QueryPort=27016 -OverrideConnectionAddress=YOUR-EXTERNAL-IP

Server 3:
start "LastOasis Server 3" MistServer.exe -log -force_steamclient_link -messaging -NoLiveServer -EnableCheats -backendapiurloverride="backend.last - oasis.com" -identifier=server_3 -port=50004 -CustomerKey=CUSTOMER-KEY-HERE -ProviderKey=PROVIDER-KEY-3 -slots=20 -QueryPort=27017 -OverrideConnectionAddress=YOUR-EXTERNAL-IP

You have to allow all ports with firewall rules and make the ports forward at your routers config.

So, to start you server, of course you need already create all oasis at Real's website and run the 3 bat files to start your servers.

I made one app that create all firewall rules and generate you the code to the bats that will start your server. But you still need do the port forwards manually.

Video showing how it works and download link:
https://streamable.com/qul2fb
Last edited by Joew; Aug 11, 2021 @ 12:11pm
robot_one Aug 11, 2021 @ 12:27pm 
Thanks for the very detailed message. Basically I have done everything you say in this, but simply cannot get anything working using the Multiple Oasis option in the dashboard.

We can access one oasis (the active one) in Single Oasis mode and can switch between oases, but if we change to Multiple we lose access to the one that was active and are denied access to the additional ones.

The only thing I can see different in our batch files are the spaces you added to: "backend.last - oasis.com" and the port numbers I am using.

I have watched your video but cannot check thing in Defender as I am running Norton. But the fact we can talk to MyRealm at one level would indicate all the port forwarding is working OK.

BTW, my friend is having exactly the same issues.
Joew Aug 11, 2021 @ 1:23pm 
Originally posted by robot_one:
I have watched your video but cannot check thing in Defender as I am running Norton. But the fact we can talk to MyRealm at one level would indicate all the port forwarding is working OK.
Hum not really. You can get troubles on just one server if the ports are wrong. One server working do not mean all is all right. Instead, it means this server is all right ^^

If you go to your Realms dash board, do you saw all your servers running?
Like this pic:
https://prnt.sc/1n09wxi

The ports you can use are the ones you want. You have just to make sure you set 2 ports for port: E.g. Your first port is 5555 so the port for your second server is 5555 + 2, that means: 5557 the 3rd is: 5559 and goes on.

As you are using norton you have to set all your ports to Norton's firewall instead windows firewall. All ports both TCP and UDP protocols and both inbound and outbound rules.
You can verify if norton is the problem or not: Disable Norton AND Windows Firewall (normally after you disable a 3rd party anti virus/firewall, defender/windows automatically enables, so make sure you go to windows defender and disable anti virus and firewall too.
Check if you can travel to another server/oasis.
If you can, for sure Norton/Firewall is your problem.

But still you have to do port forward too if your router has an internal firewall.
Most of the routers has and it comes enabled by default.
So you must add the ports and forward all of then too.
If your router has DMZ option, you can enable DMZ and set there your INTERNAL IP.
So this way you do not have to worry about port forwards. But it is too risky, i do not recommend for live servers. Just for tests purposes.
Last edited by Joew; Aug 11, 2021 @ 1:26pm
JB Aug 11, 2021 @ 9:41pm 
I have a problem, when I create the .bat with the external ip my friend can log into the server and I can't, when I create the .bat with my ipv4 I can log in and my friend can't.
Joew Aug 11, 2021 @ 10:32pm 
Originally posted by JB:
I have a problem, when I create the .bat with the external ip my friend can log into the server and I can't, when I create the .bat with my ipv4 I can log in and my friend can't.
I am pretty sure it's because redirection errors.

Make sure the .BAT have your EXTERNAL IP and:
1- Press Windows Key + X and open: Windows PowerShell (Admin)
2- Paste the command below and press RETURN:
notepad c:\windows\system32\drivers\etc\hosts
3- Notepad will open, paste this code on a new line at the end of the file:
127.0.0.1 YOUR-WAN-IP
4- Save, closes notepad++, restart your computer, start your server again, try join.

I do not tested, but maybe it can fix your problem.
superpickle8472 Aug 12, 2021 @ 1:51pm 
be nice, but WAY beyond Old Grunk :-/
JB Aug 12, 2021 @ 3:54pm 
Originally posted by Joew:
Originally posted by JB:
I have a problem, when I create the .bat with the external ip my friend can log into the server and I can't, when I create the .bat with my ipv4 I can log in and my friend can't.
I am pretty sure it's because redirection errors.

Make sure the .BAT have your EXTERNAL IP and:
1- Press Windows Key + X and open: Windows PowerShell (Admin)
2- Paste the command below and press RETURN:
notepad c:\windows\system32\drivers\etc\hosts
3- Notepad will open, paste this code on a new line at the end of the file:
127.0.0.1 YOUR-WAN-IP
4- Save, closes notepad++, restart your computer, start your server again, try join.

I do not tested, but maybe it can fix your problem.
very thanks but it did not work
Last edited by JB; Aug 12, 2021 @ 11:05pm
Aftertaste Aug 12, 2021 @ 6:20pm 
Originally posted by Joew:
Originally posted by JB:
I have a problem, when I create the .bat with the external ip my friend can log into the server and I can't, when I create the .bat with my ipv4 I can log in and my friend can't.
I am pretty sure it's because redirection errors.

Make sure the .BAT have your EXTERNAL IP and:
1- Press Windows Key + X and open: Windows PowerShell (Admin)
2- Paste the command below and press RETURN:
notepad c:\windows\system32\drivers\etc\hosts
3- Notepad will open, paste this code on a new line at the end of the file:
127.0.0.1 YOUR-WAN-IP
4- Save, closes notepad++, restart your computer, start your server again, try join.

I do not tested, but maybe it can fix your problem.

Yes this will prolly fix issues with local connect to your server, however, it WILL cause problems with anything else that uses localhost, and you do not need to restart your cpu for changes to take effect.

But it will probably fix connection issues you are having, so is valid info
robot_one Aug 13, 2021 @ 3:58am 
Thanks everyone for the helpful comments. The recent patch seems to have fixed the issue.
Joew Aug 13, 2021 @ 4:24pm 
Originally posted by robot_one:
Thanks everyone for the helpful comments. The recent patch seems to have fixed the issue.
cool! Ty for tell us that is fixed :D
Glad u can enjoy now!!!
daggoth Mar 13, 2024 @ 9:49pm 
anyone know why a classic server shuts down while trying to launch but standard works fine

i've looked through the logs and it has some errors that the standard does too, it connects to steam then shuts itself down for some reason, yet if i switch back from classic, it launches to server ready
Last edited by daggoth; Mar 13, 2024 @ 9:51pm
HeyYouGuys! Mar 22, 2024 @ 7:52am 
im having a problem everything looks to be working the server is active on the myrealm page but when i goto join the server ingame i have to uncheck online and it says its offline with no server slots or anything it shows 0/0 and when i click on it it says Realm is Offline but shows the description and everything just no join ability
gaetandu06 Mar 22, 2024 @ 9:33am 
I have the same problem, unfortunately I haven't found any solution yet, even after deleting and recreating my realm
Last edited by gaetandu06; Mar 22, 2024 @ 9:33am
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: Aug 10, 2021 @ 10:33am
Posts: 14