Syncthing 0 speed

Good day!

I had TP-LINK and now a new router with OpenWrt 24.10. Using old router Syncthing worked fine on Android + Windows. After changing the router in the chain I have local TCP LAN detection, but the speed is 0, and after it seems he even loses connection, but in logs, not in GUI. I tried disabling the firewall, even the router + Windows, and assigning rules to ports, and registering direct addresses in Syncthing, also tried re-adding devices. Speed 0. Now I have the default OpenWrt + dns Adguard home + disable ra and dhcp6 in lan.

Tell me what to do, please!

P.S. Cudy WR3000S

Not really default then ?

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like
root@OpenWrt:~# ubus call system board
{
        "kernel": "6.6.73",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 4",
        "model": "Cudy WR3000S v1",
        "board_name": "cudy,wr3000s-v1",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.0",
                "revision": "r28427-6df0e3d02a",
                "target": "mediatek/filogic",
                "description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
                "builddate": "1738624177"
        }
}
- - -
root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option packet_steering '0'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option reqprefix 'auto'
        option norelease '1'
- - -
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi'
        option band '2g'
        option channel '1'
        option htmode 'HE20'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'MY_WIFI'
        option encryption 'sae-mixed'
        option macaddr 'random'
        option key 'mypassword'
        option ocv '0'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi+1'
        option band '5g'
        option channel 'auto'
        option htmode 'HE80'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'MY_WIFI5'
        option encryption 'sae-mixed'
        option macaddr 'random'
        option key 'mypassword'
        option ocv '0'
- - -
root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option cachesize '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option localservice '1'
        option ednspacket_max '1232'
        option port '54'
        option noresolv '1'
        list server '192.168.1.1#53'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        list dhcp_option '3,192.168.1.1'
        list dhcp_option '6,192.168.1.1'
        list dhcp_option '15,lan'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'
- - -
root@OpenWrt:~# cat /etc/config/firewall

config defaults
        option syn_flood '1'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'

config redirect 'adguardhome_dns_53'
        option src 'lan'
        option proto 'tcp udp'
        option src_dport '53'
        option target 'DNAT'
        option name 'Adguard Home'
        option dest 'lan'
        option dest_port '53'
        option family 'any'

config redirect
        option target 'DNAT'
        list proto 'udp'
        option src 'lan'
        option src_dport '53'
        option dest_ip '192.168.1.1'
        option dest_port '53'
        option name 'Local redirect'
        option dest 'lan'

And I honestly don't know, because some wrote that if there is no need, then the ping does not necessarily have to be low with Android, but here is the ping of the router and phone on MY_WIFI5: 8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 191.359/420.751/720.910 ms. And ping router + PC: min/avg/max = 1/1/2 ms.
P.S. default as a starting point for changes.

You're telling your dnsmasq to use itself as upstream DNS ?

Where does AGH come into the picture?

OpenWrt guide for Adguard home rebind dnsmasq to 54 and Adguard home uses 53

Yeah, missed the 54 reassignment, but then you don't need the list server, since nothing's ever going to query dnsmasq.

What if you'd temp swap back to dnsmasq ?

Uninstalling Adguard home using guide or there is easier way?

Swap the ports again, 53 <> 54.

I decided to remove ADH altogether and nothing changed. The point is that when I first connect, it will connect a little and then the stats are D 0 B/s (1.58 KiB) U 0 B/s (124 KiB). At one point yesterday I had speed spikes up to 22mb but it was a blip and then it would drop to 0.

I have Syncthing in the background. At that moment I was returning ADH according to the script (all configs remained, so it grabbed right away). And at some point it happened: D 0 B/s (84.8 MiB) U 0 B/s (273 KiB). While I was writing the message, it was again 0 B/s (111 MiB) 0 B/s (288 KiB).
And here is the key moment. This last rise coincides with Save and Upply when I changed the language. Then I suspect that the previous rise is connected with Save and Upply, when I was playing with Filter private (Reject reverse lookups to RFC6303 IP ranges (.IN-ADDR.ARPA,.IP6.ARPA) not in /etc/hosts).
I can't connect this with any process or event, because I don't understand this moment :frowning:

Upd. 10min later
I don't know what's going on now, but I added a new folder (I've done that before), and it jumps from 3-22, and now it's 0 again, then 15 again, and so on. But anyway, the maximum is very small and everything is unstable. After 4m it's again 0, 30sec later again 15.

Upd. I noticed that when I entered list server 192.168.1.1#53, the speed dropped to 0 after Save and Upply, then I removed it, pressed Save and Upply, the speed soared to 22, but not for long and again became 0, 15 seconds passed, and the speed became 15. And of course ADH, Syncthing, OpenWRT admin/status/logs logs do not report anything when the speed is lost.