Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I've been trying to figure out how to run two servers on two different computers with one external ip address. Haven't been able to get it to work yet because I don't know if I'm able to use any other ports other than 7777-7778 on the external side. I would need to use 7779-7780 for the other server. Anyone have any idea?
I'm not sure this will be doable, but you could definitely try. The problem lies in the port-knock pattern, which I think is pre-set and initiated by the client. The network sniffing indicated it must complete the sequence (forwarded to the one server) before the server response and you get into a situation where the 'ip_conntrack' module can kick in and help you out with routing packets to similar ports to different destinations.
You could TRY changing step 1 for your second server to have different port arguments and then add rules in the iptables section relevant to the second server's IP/port combination. Perhaps the initial query gets some sort of packet response with the port knock pattern that the connection tracking module could figure out the rest?
To do so - modify the original 'step 1' command line to include this (modify QueryPort, and add Port). I've tested and verified that these two arguments work on the most recent server to do what you want. The tricky bit is the knock pattern destination, as mentioned.
-stuff goes here-?QueryPort=28015?Port=7779?-rest of the command goes here-
Thanks for the response!
So, I got it to work but I have no idea why it works.
http://arkservers.net/1/search/?term=inflicted.org
Both of those servers are using the same external port 7777 but on the internal side they are on different machines/different internal ip addresses. I'll post what I did in case someone else wants to host two servers on two different machines using one external address.
This is what I have setup on my external firewall:
External firewall port: 7777 -> PVE Windows Machine (192.168.137.190:7777)
External firewall port: 27060 -> PVE Windows Machine (192.168.137.190:27060)
External firewall Port: 7778 -> PVP Linux Machine (192.168.137.195:7778)
External firewall Port: 27080 -> PVP Linux Machine (192.168.137.195:27080)
External firewall Port: 27215 -> PVP Linux Machine (192.168.137.195:27215)
External firewall Port: 4242 -> PVP Linux Machine (192.168.137.195:4242)
External firewall Port: 26900-26905 -> PVP Linux Machine (192.168.137.195:26900-26905)
Edit: I added ?Port=7778 to the command line for the linux server and it did change the external port. It was working with 7777 just fine but I'm going this route since it makes more sense to use different ports.
Thanks for your help KriegTiger
Awesome! Happy to help :] Yeah the various workings are a bit of a mystery, but glad it worked.
I should try trimming out some of my firewall rules and experimenting. If ALL the ports were absolutely necessary, I would imagine that the PvE server you have wouldn't work (unless there's some magic going on with connection tracking that I didn't see with packet sniffer), although if that were true the explicit FORWARD and DNAT rules would (should?) have overridden it.
I may have found something... do you have a uPnP service running anywhere? (enabled on whatever your internet gateway device, or running on your firewall/router system if it's a linux box)?
Sadly not the case for me. I can run every other title whether pseudo dedicate client (no graphics etc) or steamcmd dedicated, and there's no issue.
However with ARK it refuses to show itself to the outside world. At best I can get it to show on my local LAN advertised from the ip address of the machine it's being run on - which is good. I can connect to it over my LAN, which is also good.
Seems like a standard port issue and yet no amount of Windows Firewall, port forwarding and NAT reflection makes a difference.
server will load the game without going through steam so you can launch it again with steam to play (otherwise the server would load using steam and steam would not allow you to launch it again to play)
-game
i dont know
-server
start the server without gui to reduce lag (otherwise it would open the game instead of opening console)
-log
create a log file in your game folder to log all commands/death/chat/login/logout for the server owner to keep track of whats happening when hes not online
I don't actually specify any ports in my batch file these days, I use all defaults.
That said, from looking at the netstat output on my linux system, it appears the game port (not query port) is 27020 and all of my other details above (iptables ports and such) have gone unchanged and the server still works great :]
I'd be willing to give it a shot. For starters, you got a new router - what mode is it in? Bridge (aka you get a raw internet IP on your linux box) or standard client (your linux system's 'external' interface is now a 10. or 192. style address and you're doing stuff behind that)?
I'm running into a very similar issue, will only appear as a LAN game even thought I've checked with multiple tutorials and tried forwarding every port mentioned. Find any fixes?
One thing I've found is that having it be a browseable server from the internet was hit or miss but I am not sure whether that was a problem with the setup or just the delay of sorting through the thousands of internet servers, which is why I would share the steam:// link to my server and have friends click on that rather than them having to depend on it showing up in the server list.