Forwarded ports, but friends can't connect to server
Hi!
I have created rust server with some plugins, I can connect to it via console (by LAN address and localhost) but my friend can't connect to it. I already forwarded both ports, 28015 and 28016 both are forwarded as UDP and TCP. I never had this problem before.Any help will be appreciated.
Can your friends connect via the F1 console?
I had this happen some days ago, I still had 34 players on one server and 15 on the other server when suddenly no one else could connect or see them, not even through F1 console with direct IP address, battlemetrics and rust-servers were reporting both my servers as offline. Only a restart fixed it.
No, and when I put +server.ip (ip) into my batch file, after loading server it shows that the port couldn't be obtained.
DARIOcaptain
No, and when I put +server.ip (ip) into my batch file, after loading server it shows that the port couldn't be obtained.
You shouldn't be setting that if behind a router. That is meant for servers with dedicated IP addresses or multiple network interfaces.
OK, but when I completely don't use +server.ip argument in batch, the server will say that the ip is blank, and I will only be able to connect via localhost.
+server.ip 0.0.0.0 should work fine for servers behind routers.
OK, I done it, but I still can't connect to server using my public IP. Only LAN IP is working.
What does your forwarding page and startup script look like?

echo off
:start
RustDedicated.exe -batchmode +server.level "Procedural Map" +server.ip 0.0.0.0 +server.secure false +server.seed 50500 +server.port 28015 +server.worldsize 10000 +server.maxplayers 10 +server.hostname "Wawer"

 

https://imgur.com/a/cYsUlwZ

Could you provide a fuller view of the forwarding? I can't tell what each coloum is. Also, if you are trying to forward by name, I would suggest IP address instead.
The reason it isn't working, is you have 28015 as the internal port, but 28016 as the external. So if players want to connect externally, they'd have to use 28016, not 28015. I would suggest setting them as the same port.
If you're behind a router you won't be able to connect using your external IP or through the server browser as that also uses your external IP retrieved from the Master Server. You could use DMZ, but only if your router assign the external IP address directly to your NIC, which is rare.
5df121d013ded.png runescape
If you're behind a router you won't be able to connect using your external IP or through the server browser as that also uses your external IP retrieved from the Master Server. You could use DMZ, but only if your router assign the external IP address directly to your NIC, which is rare.
I would not recommend a DMZ, at all. That is generally not encouraged because of security risks involved with that.