Port forwarding for Gaming

Hi, I'm using LuCI and trying to forward ports due to issues with game battlefield V as my scope is disengaging like I would keep on pressing right mouse button.

Correct me if I'm wrong but all I need to do is under Firewall - Port Forwards just add battlefield ports under tcp or UDP. Now Do I need to go to Firewall - Traffic Rules and open same ports there?
I'm confused because game is working significantly better if I do both but I dont know if its compromising my network?

OpenWrt does not limit traffic originated from LAN-zone, so there's no point in additional forwarding rules.

I suspect syn_flood option as it affects my torrent-client behavior:

uci -q delete firewall.@defaults[0].syn_flood
uci commit firewall
service firewall restart

Also there are drop_invalid and masq_allow_invalid options:

uci -q delete firewall.@defaults[0].drop_invalid
uci set firewall.@zone[1].masq_allow_invalid="1"
uci commit firewall
service firewall restart

As a result those commands should return nothing:

iptables-save | grep -e INVALID -e RETURN -e syn_flood
ip6tables-save | grep -e INVALID -e RETURN -e syn_flood


It looks like I dont know how to initiate commands or just entry is not there ?

Yes, but we don't know how the game server-client talk goes on. It imagine it could be that the server is doing something that disengages the scope unless the client "replies" saying a scope is supposed to be engaged, so such traffic would be initiated form the WAN side, I think.

1 Like
  • Fixed the typo for syn_flood option.
  • Added instructions for drop_invalid and masq_allow_invalid options.
  • Added the verification procedure.

When I was chatting with Battlefield V support they mentioned that its server syncing issue and other user had similar problem. I was given this

Please find below the advanced trouble shooting steps below:
Hold down the Windows Key and press X.
Click Command Prompt (Admin).
When the command prompt opens, type ipconfig/flushdns and press Enter.
Type ipconfig /registerdns and press Enter.
Type ipconfig /release and press Enter.
Type ipconfig /renew and press Enter.
Type netsh winsock reset and press Enter.
Reboot your computer to get the new settings merged in your system.

But procedure is not helping,

The thing I have done on the screenshot is helping but from time to time scope disange again

If I Open ports like on above picture

And enable those ports by doing tick next to them problem is resolved

My problem is different is opening ports under traffic rules TAB compromising my network?

Traffic Rules are for networks not using NAT. If NATing is involved, use Port Forwarding.

So to directly answer you: Traffic Rules should not be needed for this use case.


Thank you, everyone participating and helping me with this issue and for your time. I will do some further testing but the game is way better since ports are forwarded. I have followed vgaetera instructions regarding syn_flood but I'm not able at this stage to confirm if this helps, possibly it did but I have no way of verifying. lleachii thank you for information regarding Nat, for some reason game was behaving better when both options where applied but maybe it was just coincidence. Thanks again you are very helpful have a good day

Opening ports like you have in the second screenshot is pointless, because you allow input to the router, but you want to allow the flow from WAN to LAN.
So for IPv4 you need the port forwards as you have in the first screenshot and if you are using IPv6 then you'd need to traffic rules to allow forward from WAN to LAN.

1 Like

FYI remember to restart network services on your router AND your device that needs ports' forwarded AFTER you apply the port forwarding.

apply port forwarding
restart router / restart firewall
restart device / node

Hello people, see if they help me with this.
How can I open all the tcp and udp ports, what should I do with a DMZ? type create a rule with these ports 1-65535?
or it is convenient to open the ports of only the game, it is for the Apex Leyends https://portforward.com/apex-legends/

If you have only one PC/device that acts as server in your network, then you can forward everything to that device. Otherwise forward only the ports that your server needs.

and how could I do that ?, I'm new to this and it's hard for me to understand, from now graccias, greetings from Argentina

You can read the documentation here.

1 Like

Podrías mandar una captura¿?
Could you send a capture?
Sorry, I'm new to this: /

Send a capture of what?

I think he meant a screen capture of how to set it.

you haven't explained what @trendy brought up. Are you playing online or only on your local network?Maybe @eduperez can tell to you in Spanish?

I cannot conceive that a game could need to forward so many ports, that is insane. I would bet that "article" was created by some spam boot, and there is no facts at all to support those claims.

Please, state what issue you are experiencing, instead of asking to implement some absurd solution

1 Like