Is there any way to change the address of the server sent to steam servers to be distributed to clients connecting to the server? I would like to have my server listed on the ingame servers list as an external forwarding server. I have no issues with the forwarding server I can connect to the rust server just fine through it in console. I just have no idea where the address being sent to steam comes from.
Change IP address sent to Steam?
You can not use others servers to point to one server this will get you blacklisted.
as long as you set up firewall rules and port forwarding correctly the external ip will work just fine and show up in the browser ui (say if the server is behind a load balencer etc).
The server is located at my office so it grabs the external IP of my office network, I need it to use the IP of a separate network that forwards traffic to it through a reverse proxy. the servers external address is not the one I want to show up on the server list
you specify the ip that shows up in the browser ui here with the batchmode startup flags "+server.ip" (example in linux):
-batchmode +server.ip *.*.*.* +server.port 28015
Merged postreplace * upbove with the publicly viewed ip that forwards the traffic to your network etc.
I tried that but it doesn't work with the forwarding address or the real address. when I put an external IP in there the server refuses all connections and doesn't show up on the list. someone on a discord server told me that's supposed to be for the internal address but I can't find any documentation anywhere to back that up :/
it sounds like a forwarding issue from your nat / load balencer. Confirm you are forading the correct game port (udp).
like I said, I am able to connect to the server fine through my IP or the forwarding server IP just fine it just doesn't work when an address is specified in the config
My understanding is that server.ip is used when you have multiple network adaptors in the same machine (Ethernet and WiFi for example). If the machine has more than one IP address assigned to it, you can use server.ip to specify which address the server should listen on.
The documentation is pretty scanty https://developer.valvesoftware.com/wiki/Rust_Dedicated_Server
what about the ip specified in the oxide config?
user6217
what about the ip specified in the oxide config?
The IP specified there is only for webrequests, not anything to do with Steam. You can bind it to any IP you want if you want something different than what is assigned to your server.
mmm is a networking issue, make sure your public ip address is set for inbound and outbound traffic, i did the same thing and the problem is that connections where comming from x.x.x1 and outbound conections where going out through x.x.x.2 and that made the server not listed on rust servers list , both ips incomming and outgoing should match for steam to display your server.
secondly if you want to use reverse proxy you have to port forward that ip to the same ports on your office setup which is the same as having 2 rules for 2 diferent ips.
KUKAMANGA
you specify the ip that shows up in the browser ui here with the batchmode startup flags "+server.ip" (example in linux):
-batchmode +server.ip *.*.*.* +server.port 28015
Merged post
replace * upbove with the publicly viewed ip that forwards the traffic to your network etc.