Trouble setting up port forwarding (only works partially)

Hello,
i was trying to setup port forwarding for my factorio server in my lan with following config:

config redirect
        option dest 'lan'
        option target 'DNAT'
        option name '25600'
        option src 'wan'
        option src_dport '25600'
        option dest_ip '192.168.1.25'
        option dest_port '25600'
        list proto 'tcp'
        list proto 'udp'

If i host a simple website there it works without problems but if i start something else on that port like a gaming server or something else that requires web sockets. On the server i can see that a connection attempt was made and the server is asking the client for a password but it seems that the responce is not getting back to the client. Any thoughts on what else i can try?

I don't see any issues in your port forwarding rule as it is written. There is the possibility that other port(s) and/or protocols are necessary for the game you're trying to run.

1 Like

What are you trying to tell me with just linking that wiki entry?
I have already read it and at first i tried the default port there then i changed it to the one i wrote in my post. And it only needs that one port to work. All services work on local lan. But its not only factorio thats not working also if i run jellyfin on that port the webpage gets correctly displated but the websocket connection after that has problems so i think there is a problem with the response not getting back to the client is there anything i have to set up so that it works?
Because openwrt shouldnt randomize the port like mentioned in the wiki on default or?

Make sure your router does not randomize the source port on packets outbound from 34197. Some routers do this and require additional configuration to prevent it.

Websocket uses same http connection.... Check the browser debug menu if port is stil 25k