9

OpenWRT安装Shadowsocks和ChinaDNS

 2 years ago
source link: https://www.ifshow.com/openwrt-install-shadowsocks-and-chinadns/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
top.jpg

OpenWRT安装Shadowsocks和ChinaDNS

2015年4月10日

1. 在OpenWRT添加源

001.png

web管理界面 → 系统 → 软件包 → 配置 → 最后添加源:

src/gz openwrt_dist https://openwrt-dist.sourceforge.net/releases/ar71xx/packages
src/gz openwrt_dist_luci https://openwrt-dist.sourceforge.net/releases/luci/packages

2. 安装Shadowsocks和ChinaDNS

002.png

web管理界面 → 系统 → 软件包 → 点击刷新列表,刷新完成后搜索shadowscoks和chinadns,在搜索结果里面选择以下四项安装:(要和路由芯片对应,本文为ar71xx)

  • shadowsocks-libev-spec_x.x.x-x_ar71xx
  • ChinaDNS_x.x.x-x_ar71xx.ipk
  • luci-app-chinadns_x.x.x-x_all
  • luci-app-shadowsocks-spec_x.x.x-x_all

3. 配置Shadowsocks和ChinaDNS

003.png

web管理界面 → 服务 → shadowsocks → 取消勾选使用配置文件,在出现的配置项目填入服务器地址、服务器端口、密码、加密方式,然后启用。

web管理界面 → 服务 → ChinaDNS → 勾选使用压缩指针然后启用。

4. 配置DHCP

004.png

web管理界面 → 网络 → DHCP/DNS → 基本设置 → 本地服务器输入127.0.0.1:5353。

web管理界面 → 网络 → DHCP/DNS → HOSTS和解析文件 → 忽略解析文件。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK