A idea of mine involving ports in gmod but still wondering about a few things
4 replies, posted
so I had the idea to use 2 Internet connections on dual wan to setup a in home gmod server and increase the bandwidth. however I have not tested it, I want to avoid using dual wan in case it either gives no benefit or causes conflicts. then I thought of another idea. I would take the 2 ISP connections and undo the dual wan and have them separated and have 2 routers setup. from here I would put a second NIC card into the system and one ISP for each ethernet port. I would then port forward the 2 connections to this 1 PC running the server. however I would imagine that they would have some conflicts with using the same port even tho it is on 2 separated systems. so what I was thinking would be to configure gmod to use 2 ports for the server. this way there would be no conflict with the ports for the 2 connections. does anybody have any information that could help further this such as configuring extra ports for gmod servers?
If you're trying to simply have two ports work for your server then you can use [url=https://msdn.microsoft.com/en-us/library/windows/desktop/bb736546(v=vs.85).aspx]Netsh[/url] on windows and [url=https://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/]iptables[/url] for linux.
would that cause any issues with using 2 internet connections on a single PC?
[editline]4th May 2017[/editline]
and a quick question, how would I go about using this for the server? I've never really used netsh or iptables before so I'm a little lost. also the server will know which port to send to right and users could connect through either one right?
[editline]4th May 2017[/editline]
I went ahead and made a illustration of what my network would look like in my head. I don't think I'm explaining it right with just words. [URL="http://imgur.com/a/zohcz"]http://imgur.com/a/zohcz[/URL]
Just read over your post again. GMod can only be bound to one IP address and one port. If you have another IP address, traffic can be rerouted from that to the first IP address & port but it won't increase performance.
If your server suffers from performance issues it's very rarely bandwidth related.
performance wise its fine, I am more focused on increasing bandwidth specifically with out causing IP conflicts. I already have the best my area can offer on internet twice over on these 2 modems and the server hardware is perfect already. I just want it to be able to accept clients connecting from either IP address. I may be wrong but I'm pretty sure that to do that I would need to use 2 separate ports otherwise if both connections used the same port in both port forwardings wouldn't the return response go back out through both connections?
Sorry, you need to Log In to post a reply to this thread.