Update README.md

This commit is contained in:
juewuy
2020-07-22 19:52:50 +08:00
committed by GitHub
parent 1537ee6cb1
commit ea3102d941

View File

@@ -28,10 +28,10 @@ PS
mv /etc/clash/clashservice /etc/init.d/clash #将clash服务文件移动到系统目录 mv /etc/clash/clashservice /etc/init.d/clash #将clash服务文件移动到系统目录
chmod 777 /etc/clash/clash #授予权限 chmod 777 /etc/clash/clash #授予权限
chmod 777 /etc/init.d/clash #授予权限 chmod 777 /etc/init.d/clash #授予权限
service clash enable #启用clash开机启动
service clash start #启动clash服务
sed -i "8iport=5335" /etc/dnsmasq.conf #修改dnsmasq监听端口为5335 sed -i "8iport=5335" /etc/dnsmasq.conf #修改dnsmasq监听端口为5335
service dnsmasq restart #重启dnsmasq服务报错“cp: can't stat '/etc/dnsmasq.d/*'……”可无视) service dnsmasq restart #重启dnsmasq服务报错“cp: can't stat '/etc/dnsmasq.d/*'……”可无视)
service clash enable #启用clash开机启动
service clash start #启动clash服务
``` ```
```Shell ```Shell
#停止clash透明网关-Tun模式 #停止clash透明网关-Tun模式
@@ -50,10 +50,10 @@ service firewall restart #重启防火墙以重置iptables规则
``` ```
```Shell ```Shell
#停止后再次启用clash透明网关 #停止后再次启用clash透明网关
service clash enable #启用clash开机启动
service clash start #启动clash服务
sed -i "8iport=5335" /etc/dnsmasq.conf #修改dnsmasq监听端口为5335 sed -i "8iport=5335" /etc/dnsmasq.conf #修改dnsmasq监听端口为5335
service dnsmasq restart #重启dnsmasq服务报错“cp: can't stat '/etc/dnsmasq.d/*'……”可无视) service dnsmasq restart #重启dnsmasq服务报错“cp: can't stat '/etc/dnsmasq.d/*'……”可无视)
service clash enable #启用clash开机启动
service clash start #启动clash服务
``` ```
```Shell ```Shell
#完全卸载clash相关文件 #完全卸载clash相关文件