OpenWrt and Unified Remote not working

Hello,

I have the following problem since I installed OpenWRT on my rooter:

I can't get my media server PC to boot from Unified Remote when I'm not on the home network. Released the port in OpenWRT, but it still doesn't work.
Before, when I was in the StockUI of the router, everything worked fine, so I must have misconfigured something in OüenWRT.
Could someone help me what I did wrong?
Server IP ist 192.168.0.201
Uinfied Remote Port is 9512

The Emby portforwarding works.

Unbenannt

Thank you and have a nice day

Try adding also UDP to your port forwarding rule.

image

For reference:

https://www.unifiedremote.com/tutorials/how-to-enable-external-connections

Thank you for the reply, but this I had already set up.
It must be something wrong with my openwrt settings, because when I setup protocol to ANY, then it works, but I think then are opend all the ports?!

Unbenannt

Yes. Thus, all the traffic directed to the wan port will be forwarded to 192.168.0.201 and your server will be exposed to the internet.

When the rule is active run the following command and then initiate a remote connection to the server.

iptables -t nat -I zone_wan_prerouting -m limit --limit 5/sec -j LOG --log-prefix "portfwd: "

This will log all the forwarded traffic and you will be able to check what ports and protocols are actually used by the application with the following command:

logread -e portfwd
Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180681.983379] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:f0 SRC=192.168.1.106 DST=224.0.0.251 LEN=240 TOS=0x00 PREC=0x00 TTL=255 ID=18096 DF PROTO=UDP SPT=5353 DPT=5353 LEN=220
Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180682.178916] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:de SRC=192.168.1.106 DST=224.0.0.251 LEN=222 TOS=0x00 PREC=0x00 TTL=255 ID=18111 DF PROTO=UDP SPT=5353 DPT=5353 LEN=202
Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180682.270585] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SRC=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=18112 DF PROTO=UDP SPT=5353 DPT=5353 LEN=960
Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180682.359406] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=79.124.62.78 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=248 ID=51298 PROTO=TCP SPT=56764 DPT=5129 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:36:11 2022 kern.warn kernel: [3180683.075400] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:54 SRC=3.81.8.103 DST=192.168.1.99 LEN=84 TOS=0x00 PREC=0x00 TTL=32 ID=0 PROTO=ICMP TYPE=8 CODE=0 ID=6 SEQ=18293
Sun Feb  6 15:36:11 2022 kern.warn kernel: [3180683.338823] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:de SRC=192.168.1.106 DST=224.0.0.251 LEN=222 TOS=0x00 PREC=0x00 TTL=255 ID=18187 DF PROTO=UDP SPT=5353 DPT=5353 LEN=202
Sun Feb  6 15:36:12 2022 kern.warn kernel: [3180684.274390] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SRC=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=18259 DF PROTO=UDP SPT=5353 DPT=5353 LEN=960
Sun Feb  6 15:36:12 2022 kern.warn kernel: [3180684.416017] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=212.83.148.16 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=53230 PROTO=TCP SPT=60999 DPT=1024 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:36:13 2022 kern.warn kernel: [3180685.498174] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:de SRC=192.168.1.106 DST=224.0.0.251 LEN=222 TOS=0x00 PREC=0x00 TTL=255 ID=18347 DF PROTO=UDP SPT=5353 DPT=5353 LEN=202
Sun Feb  6 15:36:16 2022 kern.warn kernel: [3180688.276669] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SRC=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=18520 DF PROTO=UDP SPT=5353 DPT=5353 LEN=960
Sun Feb  6 15:36:17 2022 kern.warn kernel: [3180689.101200] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:00:71:47:a1:7b:33:08:00:45:00:02:a3 SRC=192.168.1.107 DST=224.0.0.251 LEN=675 TOS=0x00 PREC=0x00 TTL=255 ID=10170 DF PROTO=UDP SPT=5353 DPT=5353 LEN=655
Sun Feb  6 15:36:19 2022 kern.warn kernel: [3180691.508916] portfwd: IN=eth0.2 OUT= MAC=ff:ff:ff:ff:ff:ff:b8:69:f4:3c:3b:08:08:00:45:00:00:c4 SRC=192.168.1.1 DST=255.255.255.255 LEN=196 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=UDP SPT=5678 DPT=5678 LEN=176
Sun Feb  6 15:36:24 2022 kern.warn kernel: [3180696.282988] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SRC=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=19263 DF PROTO=UDP SPT=5353 DPT=5353 LEN=960
Sun Feb  6 15:36:27 2022 kern.warn kernel: [3180699.289104] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SRC=3.112.41.208 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=227 ID=57216 DF PROTO=ICMP TYPE=8 CODE=0 ID=10 SEQ=11173
Sun Feb  6 15:36:30 2022 kern.warn kernel: [3180702.403127] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SRC=52.81.42.76 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=234 ID=36411 DF PROTO=ICMP TYPE=8 CODE=0 ID=5 SEQ=11569
Sun Feb  6 15:36:37 2022 kern.warn kernel: [3180709.376652] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SRC=52.80.194.247 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=235 ID=39720 DF PROTO=ICMP TYPE=8 CODE=0 ID=10 SEQ=9040
Sun Feb  6 15:36:38 2022 kern.warn kernel: [3180710.154368] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:20 SRC=182.37.68.92 DST=192.168.1.99 LEN=32 TOS=0x00 PREC=0x00 TTL=52 ID=0 DF PROTO=UDP SPT=123 DPT=123 LEN=12
Sun Feb  6 15:36:40 2022 kern.warn kernel: [3180712.296540] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SRC=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=20545 DF PROTO=UDP SPT=5353 DPT=5353 LEN=960
Sun Feb  6 15:36:53 2022 kern.warn kernel: [3180725.405001] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=185.216.67.12 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=64020 DF PROTO=TCP SPT=35337 DPT=23 WINDOW=14600 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:02 2022 kern.warn kernel: [3180733.955153] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=192.241.205.227 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=241 ID=54321 PROTO=TCP SPT=48493 DPT=5986 WINDOW=65535 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:02 2022 kern.warn kernel: [3180734.270315] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=193.3.19.240 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=4464 PROTO=TCP SPT=43541 DPT=21316 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:08 2022 kern.warn kernel: [3180739.770932] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SRC=52.81.69.10 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=236 ID=41394 DF PROTO=ICMP TYPE=8 CODE=0 ID=11 SEQ=22847
Sun Feb  6 15:37:09 2022 kern.warn kernel: [3180741.286313] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=185.65.134.166 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=247 ID=5614 PROTO=TCP SPT=61002 DPT=28656 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:12 2022 kern.warn kernel: [3180744.318387] portfwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:b7 SRC=192.168.1.106 DST=224.0.0.251 LEN=951 TOS=0x00 PREC=0x00 TTL=255 ID=20769 DF PROTO=UDP SPT=5353 DPT=5353 LEN=931
Sun Feb  6 15:37:17 2022 kern.warn kernel: [3180748.724269] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=193.3.19.241 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=62517 PROTO=TCP SPT=45379 DPT=50985 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:19 2022 kern.warn kernel: [3180751.508045] portfwd: IN=eth0.2 OUT= MAC=ff:ff:ff:ff:ff:ff:b8:69:f4:3c:3b:08:08:00:45:00:00:c4 SRC=192.168.1.1 DST=255.255.255.255 LEN=196 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=UDP SPT=5678 DPT=5678 LEN=176
Sun Feb  6 15:37:21 2022 kern.warn kernel: [3180753.167491] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=74.82.47.27 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=240 ID=54321 PROTO=TCP SPT=42366 DPT=502 WINDOW=65535 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:29 2022 kern.warn kernel: [3180760.717847] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=79.124.62.82 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=248 ID=33682 PROTO=TCP SPT=52964 DPT=44172 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:44 2022 kern.warn kernel: [3180775.877641] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SRC=45.145.66.212 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=52370 PROTO=TCP SPT=47393 DPT=39909 WINDOW=1024 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:44 2022 kern.warn kernel: [3180775.968636] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:40:00:2c SRC=172.112.207.0 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x40 TTL=50 ID=21088 PROTO=TCP SPT=54610 DPT=52869 WINDOW=9395 RES=0x00 SYN URGP=0
Sun Feb  6 15:37:53 2022 kern.warn kernel: [3180785.270643] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:3a SRC=183.136.225.42 DST=192.168.1.99 LEN=58 TOS=0x00 PREC=0x00 TTL=112 ID=46528 PROTO=UDP SPT=60424 DPT=626 LEN=38
Sun Feb  6 15:37:55 2022 kern.warn kernel: [3180787.435348] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:34 SRC=163.171.132.37 DST=192.168.1.99 LEN=52 TOS=0x00 PREC=0x00 TTL=54 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=1936 SEQ=58634
root@OpenWrt:~# Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180681.983379] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:f0 SR
C=192.168.1.106 DST=224.0.0.251 LEN=240 TOS=0x00 PREC=0x00 TTL=255 ID=18096 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=220
Sun Feb  6 15:36:38 2022 kern.warn kernel: [3180710.154368] portfwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:20 SRC=182.37.68.92 DST=192.168-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180682.178916] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:de SR
C=192.168.1.106 DST=224.0.0.251 LEN=222 TOS=0x00 PREC=0x00 TTL=255 ID=18111 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=202
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180682.270585] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SR
C=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=18112 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=960
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:10 2022 kern.warn kernel: [3180682.359406] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=79.124.62.78 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=248 ID=51298 PROTO
=TCP SPT=56764 DPT=5129 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:11 2022 kern.warn kernel: [3180683.075400] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:54 SR
C=3.81.8.103 DST=192.168.1.99 LEN=84 TOS=0x00 PREC=0x00 TTL=32 ID=0 PROTO=ICMP T
YPE=8 CODE=0 ID=6 SEQ=18293
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:11 2022 kern.warn kernel: [3180683.338823] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:de SR
C=192.168.1.106 DST=224.0.0.251 LEN=222 TOS=0x00 PREC=0x00 TTL=255 ID=18187 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=202
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:12 2022 kern.warn kernel: [3180684.274390] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SR
C=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=18259 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=960
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:12 2022 kern.warn kernel: [3180684.416017] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=212.83.148.16 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=53230 PROT
O=TCP SPT=60999 DPT=1024 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:13 2022 kern.warn kernel: [3180685.498174] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:00:de SR
C=192.168.1.106 DST=224.0.0.251 LEN=222 TOS=0x00 PREC=0x00 TTL=255 ID=18347 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=202
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:16 2022 kern.warn kernel: [3180688.276669] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SR
C=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=18520 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=960
:ff:-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:17 2022 kern.warn kernel: [3180689.101200] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:00:71:47:a1:7b:33:08:00:45:00:02:a3 SR
C=192.168.1.107 DST=224.0.0.251 LEN=675 TOS=0x00 PREC=0x00 TTL=255 ID=10170 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=655
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:19 2022 kern.warn kernel: [3180691.508916] port
fwd: IN=eth0.2 OUT= MAC=ff:ff:ff:ff:ff:ff:b8:69:f4:3c:3b:08:08:00:45:00:00:c4 SR
C=192.168.1.1 DST=255.255.255.255 LEN=196 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=U
DP SPT=5678 DPT=5678 LEN=176
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:24 2022 kern.warn kernel: [3180696.282988] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SR
C=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=19263 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=960
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:27 2022 kern.warn kernel: [3180699.289104] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SR
C=3.112.41.208 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=227 ID=57216 DF PR
OTO=ICMP TYPE=8 CODE=0 ID=10 SEQ=11173
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:30 2022 kern.warn kernel: [3180702.403127] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SR
C=52.81.42.76 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=234 ID=36411 DF PRO
TO=ICMP TYPE=8 CODE=0 ID=5 SEQ=11569
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:37 2022 kern.warn kernel: [3180709.376652] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SR
C=52.80.194.247 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=235 ID=39720 DF P
ROTO=ICMP TYPE=8 CODE=0 ID=10 SEQ=9040
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:38 2022 kern.warn kernel: [3180710.154368] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:20 SR
C=182.37.68.92 DST=192.168.1.99 LEN=32 TOS=0x00 PREC=0x00 TTL=52 ID=0 DF PROTO=U
DP SPT=123 DPT=123 LEN=12
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:40 2022 kern.warn kernel: [3180712.296540] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:d4 SR
C=192.168.1.106 DST=224.0.0.251 LEN=980 TOS=0x00 PREC=0x00 TTL=255 ID=20545 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=960
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:36:53 2022 kern.warn kernel: [3180725.405001] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=185.216.67.12 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=64020 DF P
ROTO=TCP SPT=35337 DPT=23 WINDOW=14600 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:02 2022 kern.warn kernel: [3180733.955153] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=192.241.205.227 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=241 ID=54321 PR
OTO=TCP SPT=48493 DPT=5986 WINDOW=65535 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:02 2022 kern.warn kernel: [3180734.270315] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=193.3.19.240 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=4464 PROTO=
TCP SPT=43541 DPT=21316 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:08 2022 kern.warn kernel: [3180739.770932] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:24 SR
C=52.81.69.10 DST=192.168.1.99 LEN=36 TOS=0x00 PREC=0x00 TTL=236 ID=41394 DF PRO
TO=ICMP TYPE=8 CODE=0 ID=11 SEQ=22847
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:09 2022 kern.warn kernel: [3180741.286313] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=185.65.134.166 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=247 ID=5614 PROT
O=TCP SPT=61002 DPT=28656 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:12 2022 kern.warn kernel: [3180744.318387] port
fwd: IN=eth0.2 OUT= MAC=01:00:5e:00:00:fb:b0:fc:0d:09:36:ba:08:00:45:00:03:b7 SR
C=192.168.1.106 DST=224.0.0.251 LEN=951 TOS=0x00 PREC=0x00 TTL=255 ID=20769 DF P
ROTO=UDP SPT=5353 DPT=5353 LEN=931
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:17 2022 kern.warn kernel: [3180748.724269] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=193.3.19.241 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=62517 PROTO
=TCP SPT=45379 DPT=50985 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:19 2022 kern.warn kernel: [3180751.508045] port
fwd: IN=eth0.2 OUT= MAC=ff:ff:ff:ff:ff:ff:b8:69:f4:3c:3b:08:08:00:45:00:00:c4 SR
C=192.168.1.1 DST=255.255.255.255 LEN=196 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=U
DP SPT=5678 DPT=5678 LEN=176
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:21 2022 kern.warn kernel: [3180753.167491] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=74.82.47.27 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=240 ID=54321 PROTO=
TCP SPT=42366 DPT=502 WINDOW=65535 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:29 2022 kern.warn kernel: [3180760.717847] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=79.124.62.82 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=248 ID=33682 PROTO
=TCP SPT=52964 DPT=44172 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:44 2022 kern.warn kernel: [3180775.877641] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2c SR
C=45.145.66.212 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=52370 PROT
O=TCP SPT=47393 DPT=39909 WINDOW=1024 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:44 2022 kern.warn kernel: [3180775.968636] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:40:00:2c SR
C=172.112.207.0 DST=192.168.1.99 LEN=44 TOS=0x00 PREC=0x40 TTL=50 ID=21088 PROTO
=TCP SPT=54610 DPT=52869 WINDOW=9395 RES=0x00 SYN URGP=0
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:53 2022 kern.warn kernel: [3180785.270643] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:3a SR
C=183.136.225.42 DST=192.168.1.99 LEN=58 TOS=0x00 PREC=0x00 TTL=112 ID=46528 PRO
TO=UDP SPT=60424 DPT=626 LEN=38
-ash: Sun: not found
root@OpenWrt:~# Sun Feb  6 15:37:55 2022 kern.warn kernel: [3180787.435348] port
fwd: IN=eth0.2 OUT= MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:34 SR
C=163.171.132.37 DST=192.168.1.99 LEN=52 TOS=0x00 PREC=0x00 TTL=54 ID=0 DF PROTO
=ICMP TYPE=8 CODE=0 ID=1936 SEQ=58634
-ash: Sun: not found

From the logs you posted:

  1. The traffic is forwarded to 192.168.1.99, not to 192.168.0.201
  2. These are the ports used:
DPT=1024
DPT=123
DPT=21316
DPT=23
DPT=28656
DPT=39909
DPT=44172
DPT=502
DPT=50985
DPT=5129
DPT=52869
DPT=5353
DPT=5678
DPT=5986
DPT=626

I don't see 9512 in that list.

192.168.1.99 is the internal IP Adress of the main network.
The 192.168.1.xxx is from the router of my provider.
I have no access to this router, so they have me opened all ports of the main router, so that I could manage my network with my own router, collected with LAN (main router) to Wan port (my Router).

The WAN Port of my Router has these settings in network settings of openwrt: WAN IPV4 Adress: 192.168.1.99 IPv4 Gateway: 192.168.1.1

So what can I do? With the unified App, when the Server is started, but with the smartphone I am NOT in the WLAN, I CAN hibernate or shutdown the server, but when the PC is hibernated or shutten down, then I CAN NOT wake it up, when I am not in the WLAN.
When I am in the WLAN, so I can wake it up with the unified app.

Also when I am not in the WLAN, but with wireshark connected to my home network, I can also not wake it up.

Sorry for my bad english, but my main language is german, but i do my best!

Thank you

Let's try something else. Run the following:

/etc/init.d/log restart
fw3 -q restart
iptables -I FORWARD -d 192.168.0.201 -m limit --limit 1/sec -j LOG

Initiate an "unified remote" connection from the Internet (the ANY protocol rule should be active) and then post the result of logread -e 192.168.0.201

Summary
root@OpenWrt:~# /etc/init.d/log restart
root@OpenWrt:~# fw3 -q restart
root@OpenWrt:~# iptables -I FORWARD -d 192.168.0.201 -m limit --limit 1/sec -j L
OG
root@OpenWrt:~# -e 192.168.0.201
-ash: -e: not found
root@OpenWrt:~# logread -e 192.168.0.201
Mon Feb  7 21:10:11 2022 kern.warn kernel: [3287122.645853] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:b5 SRC=142.250.184.42 DS                                                                                                                                                             T=192.168.0.201 LEN=181 TOS=0x00 PREC=0x00 TTL=122 ID=31541 PROTO=TCP SPT=443 DP                                                                                                                                                             T=58839 WINDOW=265 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:11 2022 kern.warn kernel: [3287122.800189] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:7d SRC=142.250.184.99 DS                                                                                                                                                             T=192.168.0.201 LEN=125 TOS=0x00 PREC=0x00 TTL=122 ID=20977 PROTO=TCP SPT=443 DP                                                                                                                                                             T=33867 WINDOW=265 RES=0x00 ACK PSH URGP=0
Mon Feb  7 21:10:11 2022 kern.warn kernel: [3287122.933909] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:73 SRC=18.66.218.75 DST=                                                                                                                                                             192.168.0.201 LEN=115 TOS=0x00 PREC=0x00 TTL=248 ID=46246 PROTO=TCP SPT=443 DPT=                                                                                                                                                             35716 WINDOW=267 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:11 2022 kern.warn kernel: [3287122.966059] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:81 SRC=18.204.74.96 DST=                                                                                                                                                             192.168.0.201 LEN=129 TOS=0x00 PREC=0x00 TTL=239 ID=55877 DF PROTO=TCP SPT=443 D                                                                                                                                                             PT=38637 WINDOW=137 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:12 2022 kern.warn kernel: [3287124.297847] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:6c SRC=142.250.184.99 DS                                                                                                                                                             T=192.168.0.201 LEN=108 TOS=0x00 PREC=0x00 TTL=122 ID=21098 PROTO=TCP SPT=443 DP                                                                                                                                                             T=33867 WINDOW=265 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:13 2022 kern.warn kernel: [3287124.555625] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:b5 SRC=142.250.184.99 DS                                                                                                                                                             T=192.168.0.201 LEN=181 TOS=0x00 PREC=0x00 TTL=122 ID=1360 PROTO=TCP SPT=443 DPT                                                                                                                                                             =33914 WINDOW=261 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:14 2022 kern.warn kernel: [3287126.048122] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:81 SRC=18.204.74.96 DST=                                                                                                                                                             192.168.0.201 LEN=129 TOS=0x00 PREC=0x00 TTL=239 ID=55878 DF PROTO=TCP SPT=443 D                                                                                                                                                             PT=38637 WINDOW=137 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:14 2022 kern.warn kernel: [3287126.256122] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:b5 SRC=142.250.184.99 DS                                                                                                                                                             T=192.168.0.201 LEN=181 TOS=0x00 PREC=0x00 TTL=122 ID=22727 PROTO=TCP SPT=443 DP                                                                                                                                                             T=33867 WINDOW=265 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:15 2022 kern.warn kernel: [3287126.843758] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:59 SRC=104.220.232.86 DS                                                                                                                                                             T=192.168.0.201 LEN=89 TOS=0x00 PREC=0x00 TTL=52 ID=38208 DF PROTO=TCP SPT=443 D                                                                                                                                                             PT=49195 WINDOW=132 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:16 2022 kern.warn kernel: [3287127.737386] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:34 SRC=142.250.184.67 DS                                                                                                                                                             T=192.168.0.201 LEN=52 TOS=0x00 PREC=0x00 TTL=122 ID=7004 PROTO=TCP SPT=443 DPT=                                                                                                                                                             52894 WINDOW=372 RES=0x00 ACK URGP=0
Mon Feb  7 21:10:17 2022 kern.warn kernel: [3287128.874444] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:55 SRC=139.59.210.197 DS                                                                                                                                                             T=192.168.0.201 LEN=85 TOS=0x00 PREC=0x00 TTL=54 ID=2498 DF PROTO=TCP SPT=443 DP                                                                                                                                                             T=49400 WINDOW=501 RES=0x00 ACK PSH URGP=0
Mon Feb  7 21:10:18 2022 kern.warn kernel: [3287129.749759] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:b5 SRC=142.250.184.42 DS                                                                                                                                                             T=192.168.0.201 LEN=181 TOS=0x00 PREC=0x00 TTL=122 ID=31794 PROTO=TCP SPT=443 DP                                                                                                                                                             T=58839 WINDOW=265 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:19 2022 kern.warn kernel: [3287131.376941] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:56 SRC=52.94.221.17 DST=                                                                                                                                                             192.168.0.201 LEN=86 TOS=0x00 PREC=0x00 TTL=227 ID=46575 DF PROTO=TCP SPT=443 DP                                                                                                                                                             T=35462 WINDOW=5140 RES=0x00 ACK PSH URGP=0
Mon Feb  7 21:10:20 2022 kern.warn kernel: [3287131.963748] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:81 SRC=18.204.74.96 DST=                                                                                                                                                             192.168.0.201 LEN=129 TOS=0x00 PREC=0x00 TTL=239 ID=55879 DF PROTO=TCP SPT=443 D                                                                                                                                                             PT=38637 WINDOW=137 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:21 2022 kern.warn kernel: [3287133.232136] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:b5 SRC=142.250.184.99 DS                                                                                                                                                             T=192.168.0.201 LEN=181 TOS=0x00 PREC=0x00 TTL=122 ID=26202 PROTO=TCP SPT=443 DP                                                                                                                                                             T=33867 WINDOW=265 RES=0x00 ACK PSH FIN URGP=0
Mon Feb  7 21:10:27 2022 kern.warn kernel: [3287139.038648] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:2e SRC=185.127.214.41 DS                                                                                                                                                             T=192.168.0.201 LEN=46 TOS=0x00 PREC=0x00 TTL=50 ID=6553 DF PROTO=TCP SPT=59562                                                                                                                                                              DPT=8096 WINDOW=1436 RES=0x00 ACK PSH URGP=0
Mon Feb  7 21:10:27 2022 kern.warn kernel: [3287139.058642] IN=eth0.2 OUT=br-lan                                                                                                                                                              MAC=dc:ef:09:ef:ef:dd:b8:69:f4:3c:3b:0d:08:00:45:00:00:28 SRC=185.127.214.41 DS                                                                                                                                                             T=192.168.0.201 LEN=40 TOS=0x00 PREC=0x00 TTL=50 ID=6554 DF PROTO=TCP SPT=59562                                                                                                                                                              DPT=8096 WINDOW=1436 RES=0x00 ACK URGP=0