diff options
author | midnightix | 2021-07-12 17:54:11 +0800 |
---|---|---|
committer | midnightix | 2021-07-12 17:54:11 +0800 |
commit | e90f47b1c88eb1a6b9fc5fdf9be1c9d1a9c9e53c (patch) | |
tree | f6635f3a020ce6d6134cee4c5b07695224b0e523 | |
parent | 9e9f6ed367373c4125490733902a589344d03f2a (diff) | |
download | aur-e90f47b1c88eb1a6b9fc5fdf9be1c9d1a9c9e53c.tar.gz |
patch for dns-hijack
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | clash-premium-tun.install | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 +" |