My setup is that all traffic with src port 32976 TCP should be redirected to lan ip 192.168.0.50 on port 32976 TCP. The src device can be any device in my lan or from an external network (wan). In the default tp-link firmware, this worked fine.
In OpenWRT, if the src device is from an external network, it works fine but if the src device is from my lan, it doesn't get redirected. Below is what I did to get the wan side working.
config redirect option target 'DNAT' option src 'wan' option dest 'lan' option proto 'tcp' option src_dport '32976' option dest_ip '192.168.0.50' option dest_port '32976' option name 'test1'
For the lan side, I tried creating a new redirection with everything the same except src is 'lan' but it still doesn't work. Any suggestion on how to solve this issue?