Acris / shadowsocks-asuswrt-merlin

Shadowsock for Asuswrt-Merlin New Gen
MIT License
256 stars 44 forks source link

Lan dhcp and wifi devices drop connection #60

Closed UnknownDef closed 2 months ago

UnknownDef commented 2 months ago

Help plz! When I start ss-merlin , wifi devices cant connect to router(cant receive ip), and lan devices with static ip drop connection when on/off device.... when i stop ss-merlin problem is fixed.... my conf:

# Route mode
## 0: GFW list.
## 1: Bypass mainland China.
## 2: Global mode.
mode=0

# UDP support
## 0: Disable UDP.
## 1: Enable UDP, require server side support.
udp=1

# LAN IPs
## Configure which LAN IP will pass transparent proxy.
## Default is 0.0.0.0/0, means all LAN devices will affected.
## You can assign a LAN IP like 192.169.1.125 means only this device can pass transparent proxy.
lan_ips=192.168.1.0/24

# China DNS IP
## Default is 119.29.29.29
china_dns_ip=8.8.8.8
Acris commented 2 months ago

Hi, what's your router's IP address? Try to set lan_ips to 0.0.0.0/0 and try again.

UnknownDef commented 2 months ago

Hi, what's your router's IP address? Try to set lan_ips to 0.0.0.0/0 and try again.

ip 192.168.1.1 I try 0.0.0.0/0 and no one devices include WIFI cant recieve ip adress when trying to connect router

when try to connect new device in logs i see

Aug 27 18:31:27 rc_service: watchdog 1609:notify_rc start_dnsmasq Aug 27 18:31:27 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add. Aug 27 18:31:27 stubby[9034]: Stubby version: Stubby 0.4.2 Aug 27 18:31:27 dnsmasq[9036]: Name or service not known at line 4910 of /opt/share/ss-merlin/etc/dnsmasq.d//dnsmasq_gfwlist_ipset.conf Aug 27 18:31:27 dnsmasq[9036]: FAILED to start up

line 4910 is server=/ti ??? i dont understand what is it...

Acris commented 2 months ago

Hi, please run below commands and check if the issue can be fixed:

/opt/share/ss-merlin/scripts/update_gfwlist.sh
ss-merlin restart
UnknownDef commented 2 months ago

No the problem is

Aug 29 08:13:19 dnsmasq[9940]: No address associated with hostname at line 86533 of /opt/share/ss-merlin/etc/dnsmasq.d//accelerated-domains.china.conf Aug 29 08:13:19 dnsmasq[9940]: FAILED to start up

what happend with confs??? 12 hous all works and now i see all devices drop connections... how to disable using this all china conf? im not from china

Acris commented 2 months ago

Hi, it seems the rules are not updated correctly, it maybe caused by a network issue. Please run all of the below commands and see if it works:

/opt/share/ss-merlin/scripts/update_dns_whitelist.sh
/opt/share/ss-merlin/scripts/update_ip_whitelist.sh
ss-merlin restart
UnknownDef commented 2 months ago

Screenshot 2024-08-29 212651 so i have big problem to download from your cdn.jsdelivr.net , i spend about 8 hours... is strange because i have 500mb speed...

UnknownDef commented 2 months ago

Acris, may be i can erase this file ? it fix this problem?

Acris commented 2 months ago

No, you can't erase it. I've changed the CDN, can you run ss-merlin upgrade and the run below commands again?

/opt/share/ss-merlin/scripts/update_dns_whitelist.sh
/opt/share/ss-merlin/scripts/update_ip_whitelist.sh
ss-merlin restart
UnknownDef commented 2 months ago

No, you can't erase it. I've changed the CDN, can you run ss-merlin upgrade and the run below commands again?

/opt/share/ss-merlin/scripts/update_dns_whitelist.sh
/opt/share/ss-merlin/scripts/update_ip_whitelist.sh
ss-merlin restart

so i erase it and all works good, but after any hours leter(this file dnsmasq_gfwlist_ipset.conf grow up with domains) , so how to make this files not update ??? it block access to many ru sites...

UnknownDef commented 2 months ago

it block access to many ru sites...

how i can correctly disable to update accelerated-domains.china.conf and dnsmasq_gfwlist_ipset.conf ??

Acris commented 2 months ago

it block access to many ru sites...

how i can correctly disable to update accelerated-domains.china.conf and dnsmasq_gfwlist_ipset.conf ??

Edit /opt/share/ss-merlin/scripts/update_dns_whitelist.sh to delete line 7, then edit /opt/share/ss-merlin/scripts/update_dns_whitelist.sh.sh to delete line 10.