You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,19 @@ Download `.ipk` and `.apk` from [Releases](https://github.com/stevenjoezhang/luc
8
8
9
9
## Features
10
10
11
-
- AdGuard Home service port management
12
-
- Download/update core in LuCI interface (supports custom URL download)
13
-
- For `.tar.gz` files, the file structure must match the official one
14
-
- Or directly use the main program binary
15
-
- Compress core with `upx` (`xz` dependency, the script will auto download if needed. If `opkg` source can't connect, please include this package during compilation)
11
+
- AdGuard Home service port, username and password management
12
+
- Download/update core in LuCI interface (supports custom download URL)
13
+
- Compress core with `upx`, reducing storage space usage
16
14
- DNS redirection methods:
17
-
- As the upstream of `dnsmasq` (IP in AdGuard Home statistics will show as `127.0.0.1`, unable to track clients and adjust settings accordingly)
18
15
- Redirect port 53 to AdGuard Home (Directly using the system firewall settings, offers better compatibility with `nftables` and also supports IPv6 redirection)
19
-
- Replace `dnsmasq` with port 53 (needs AdGuard Home configuration with `dnsip=0.0.0.0`, ports of `dnsmasq` and AdGuard Home will be exchanged)
16
+
- As the upstream of `dnsmasq` (IP in AdGuard Home statistics will show as `127.0.0.1`, unable to track clients and adjust settings accordingly)
17
+
- Replace `dnsmasq` with port 53 (Ports of `dnsmasq` and AdGuard Home will be exchanged, AdGuard Home will use port 53)
20
18
- Customization options:
21
19
- Customize executable file path (supports `/tmp`, auto redownload after reboot)
22
20
- Customize config file path
23
21
- Customize work directory
24
22
- Customize runtime log path
25
23
- GFWList query to specific DNS server. Also check out [luci-app-autoipsetadder](https://github.com/rufengsuixing/luci-app-autoipsetadder)
26
-
- Modify AdGuard Home login password
27
24
- View/delete/backup runtime log in positive/reverse order with 3-second updates + local browser timezone conversion
28
25
- Manual configuration:
29
26
- YAML editor support
@@ -35,6 +32,13 @@ Download `.ipk` and `.apk` from [Releases](https://github.com/stevenjoezhang/luc
35
32
- Auto update IPv6 hosts and restart AdGuard Home (hourly, no restart if no updates)
36
33
- Auto update GFW list and restart AdGuard Home (`3:30/day`, no restart if no updates)
37
34
35
+
## Dependencies
36
+
37
+
-`wget` or `curl` (for downloading core)
38
+
-`upx` and `xz` (optional, for core compression)
39
+
40
+
Note: the plugin will install dependencies with `opkg` automatically if not present. However, if the `opkg` source is not available in your distribution, you need to include these packages during OpenWrt compilation.
41
+
38
42
## Known Issues
39
43
40
44
- Database doesn't support filesystems that don't support `mmap` (such as `jffs2` and `data-stk-oo`). Please modify work directory; if `jffs2` is detected, the app will automatically create soft links (`ln`) for the databases to `/tmp`, but DNS database will be lost after reboot
@@ -53,10 +57,11 @@ Also, compression trades RAM for ROM space, which consumes more memory during ru
53
57
54
58
## OpenClash Combination Methods
55
59
56
-
1.**GFW Proxy**: DNS redirect - as `dnsmasq`'s upstream server
57
-
2.**GFW Proxy**: Manually set AdGuard Home upstream DNS to `127.0.0.1:[your listening port]`, then use DNS redirect - use port 53 to replace `dnsmasq` (after port exchange, `dnsmasq` becomes the upstream)
58
-
3.**Foreign IP Proxy**: Any redirect method - add GFW list to AdGuard Home, enable scheduled task to update GFW regularly
59
-
4.**GFW Proxy**: DNS redirect - redirect port 53 to AdGuard Home, set AdGuard Home upstream DNS to `127.0.0.1:53`
60
+
OpenClash and other proxy plugins often include DNS redirection features. When used with AdGuard Home, careful configuration is needed to avoid conflicts or DNS query issues. Here are recommended combination methods:
61
+
1. Disable DNS redirection in the proxy plugin to avoid modifying `dnsmasq` settings or setting firewall rules that may conflict.
62
+
2. Record the DNS server address and port provided by the proxy plugin, e.g., OpenClash's default port is 7874.
63
+
3. Set AdGuard Home's upstream DNS to the proxy plugin's DNS server address and port, e.g., `1127.0.0.1:7874`.
64
+
4. Enable DNS redirection in AdGuard Home plugin settings to redirect port 53 to AdGuard Home.
0 commit comments