summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD1
-rw-r--r--clash-premium-tun.install2
2 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1182fd7fdebd..cc0aaf3e00d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,6 +27,7 @@ prepare() {
sed -i "s/lib/share/g" clash.service
sed -i "s/lib/share/g" 99-clash.rules
sed -i "/bash/,+38 s/tcp, udp/tcp, udp, icmp/g" setup-tun.sh
+ sed -i "s/1.0.0.1/198.18.0.2/g" clash-default
}
package() {
diff --git a/clash-premium-tun.install b/clash-premium-tun.install
index 48bf5f459dac..17d5a0a969f1 100644
--- a/clash-premium-tun.install
+++ b/clash-premium-tun.install
@@ -10,7 +10,7 @@ post_install() {
echo "+ +"
echo "+ Home directory at /etc/clash +"
echo "+ +"
- echo "+ All dns traffic will be redirected to 1.0.0.1:53 +"
+ echo "+ All dns traffic will be redirected to 198.18.0.2:53 +"
echo "+ Please use clash core's 'tun.dns-hijack' to handle it +"
echo "+ +"
echo "+ Use 'systemctl start clash' to start +"