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.
Thank you and have a nice day
pavelgl
February 6, 2022, 10:06am
2
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?!
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:
The traffic is forwarded to 192.168.1.99, not to 192.168.0.201
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