The game server requires the following ports to be opened:
Port Protocol Description
7948 UDP Monitored Harmony, the VU networking layer.
25200 UDP Frostbite networking layer.
47200 TCP Remote administration protocol (RCON).
I did the usual port forwarding on this, but am not sure if I set it correctly, as my friends can not connect.
For example, on the rule for 7948, I set:
Chain=forward
Dst. Address=192.168.1.47
Protocol=UDP
Dst. Port=7948
Is there more i should add to the rules for this? Is there anything I should change?
Also, my ubuntu machine that is hosting has no firewall currently enabled.
Dst-address is matching against original packet’s dst-address which will normally be router’s WAN address. The action property is to-addresses=192.168.1.47.
Just make sure you limit access to your servers using source addresses on the dst-nat rules, as a starting point otherwise you will open yourself up to hacking running open servers…
There is a reason most people dont, and game servers are run by huge corps…
I am looking at WinBox, so I can answer that one.
In the NAT rule, on the General tab, the first selection is Chain (which will normally be dstnat in this case). The second selection is Src. Address (which will likely be blank in this case), and the third selection is Dst. Address. That is where you would put your public IP (if desired). Note, that it may not be needed. I don’t specify the Dst. Address at all, but I do specify the In. Interface a bit farther down the NAT page (in my case it is my Fiber Internet or my Cable Internet depending on which on this particular NAT is expected to use). In my case, I am NOT using a bridge in the router - if you are, that setting may be different.
In neither of those have your shown the action. In the case of the NAT rule, the Action is dst-nat, the To address is 192.168.1.47. For the filter rule, the Action will be accept.
Both of those are in their simplest form - you may want or need to get more detailed…