Below [4] you find a list of my current iptables rules.
The one i have issues with is:

"-A zone_lan_prerouting -s 192.168.1.125/32 -i br-lan -p tcp -m tcp --dport 1935 -j DNAT --to-destination 192.168.1.20:1935"

i assumed that this one would take all the traffic it gets on the internal LAN interface (br-lan) from source ip 192.168.1.125 with destination port 1935 (rtmp) and redirects those packets to 192.168.1.20 in my lan on the same subnet.

What instead happens is that this traffic arrives at the WAN interface of my openwrt router (destination ip correctly rewritten tho) and thus never reaches the desired destination.

You can find a screenshot of wireshark dumps here: [1]

Ive also pasted the pcapng dumps here [2] for the wan interface and here [3] for the lan side


It would be great if someone would point me to the hopefully obvious error so i could finally get this DNAT rule to work as i would expect it to.

Greetings from Germany
Lukas

[1] https://pasteboard.co/1Ri6PkzNo.png
[2] https://paste.crystalnet.org/?be60b9a1e056d372#kxK1FIFM3yvCEpTtOSGtwuxDV9yKgmH/Foi2gNiZ4Qk= [3] https://paste.crystalnet.org/?a16dfab4526c4928#9HuYHWeEqEMqYVgbENE3+waZT+wyfYmqmlMe/rQ4R9E= [4] https://paste.crystalnet.org/?02ad420c788ece78#aqKuU6kH1XfI603T2KyIsFiKqcNZ88G5NtQjO1WsQqc=
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to