Toc
  1. 刷机 基础配置
  2. 初始安装软件
  3. DNS
  4. 无线和有线设置
  5. pdnsd搭建DNS服务器@centos 服务器
  6. 搭建shadowsocks服务@centos 服务器
  7. 进阶
  8. 交换机截图
Toc
0 results found
Seven Chen
Wndr4300 刷Openwrt 科学上网

刷机 基础配置

参考文件入口 需要的刷机文件@百度网盘 shadowsocks-spec chinadns-openwrt luci-app-shadowsocks luci-app-chinadns

初始安装软件

@win [code lang=bash]
C:\Users\seven\Documents\wdnr4300>pscp.exe .ipk root@192.168.1.1:/opt/ 2015/07/23 14:38 27,161 ChinaDNS_1.3.1-1_ar71xx.ipk 2015/07/23 14:38 2,592 luci-app-chinadns_1.3.1-1_all.ipk 2015/07/23 14:38 3,131 luci-app-shadowsocks-spec_1.3.2-1_all.ipk 2015/07/23 14:38 117,469 shadowsocks-libev-spec_2.2.2-1_ar71xx.ipk [/code] @4300 [code lang=bash] # opkg install ip ipset libopenssl resolveip iptables-mod-tproxy # cd /opt # opkg install ./.ipk [/code] 问题: [code lang=text] C:\Users\seven\Documents\wdnr4300>pscp.exe .ipk root@192.168.1.1:/opt/ root@192.168.1.1‘s password: ash: /usr/libexec/sftp-server: not found Fatal: Received unexpected end-of-file from server [/code] 解决: [code lang=text] # opkg update # opkg install openssh-sftp-server [/code] *修改4300 LAN IP 192.168.7.1**

DNS

#vim /etc/config/sec_resolv.conf [code lang=bash] nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 114.114.114.114 [/code]

无线和有线设置

忽略了,直接在web界面设置就好主要是设密码什么的

pdnsd搭建DNS服务器@centos 服务器

http://members.home.nl/p.a.rombouts/pdnsd/dl.html 下载pdnsd最新的rpm包 然后 yum localinstall pdnsd-x.x.x-par_sl6.x86_64.rpm 配置见: https://cokebar.info/archives/720 http://leeraw.com/?p=3621

搭建shadowsocks服务@centos 服务器

  1. 先安装git
  2. 从github上拉源码 https://github.com/shadowsocks/shadowsocks-libev
  3. cd shadowsocks-libev
  4. ./configure
  5. make && make install
  6. 启动 > nohup /usr/local/bin/ss-server -s SERVER_IP -p SERVER_PORT -k PASSWD -m aes-256-cfb & > 将上面的启动命令加到rc.local开机自启
  7. 配置

进阶

https://cokebar.info/archives/850

交换机截图

chinaDNS shadowsocks dhcp-dns dncp-dns

本文作者:Seven Chen
版权声明:本文首发于Seven Chen的博客,转载请注明出处!