Code Monkey home page Code Monkey logo

openwrt-fanqiang's Introduction

史上最详细的OpenWrt路由器自动翻墙教程

手把手教你路由器刷OpenWrt固件,自动穿越万里长城。

本教程翻墙方案的特点

放弃建立黑名单的方案吧,被墙的网站每天在大量增加,有限的人生不能在无限的手工添加黑名单、重启路由器中渡过。

大道至简,一劳永逸!

  • 建立国内重要网站名单,在国内进行dns查询
  • 其他网站通过 shadowsocks客户端向 shadowsocks服务端进行dns查询
  • 国内或亚洲的IP流量走国内通道
  • 其他流量通过shadowsocks服务端转发
  • 屏蔽ISP劫持相关IP
  • 屏蔽移动广告

知识若不分享,实在没有意义

2014年6月 Dropbox壮烈被墙。

查资料发现,著名的开源路由器固件OpenWrt支持家里的路由器 TP-Link WR2543N V1 ,于是就给路由器安装了OpenWrt并设置为自动智能翻墙。

自由的感觉真好: youtube, hulu, twitter, facebook, google...

什么是圣人,圣人就是得到和付出比较均衡的人。天地生我,我敬天地;父母育我,我亦养父母;网上获得知识,也要在网上分享知识。于是,花了许多天,查资料,写教程,调试固件,不知不觉一天就过去了。

希望你应用本教程后,也把你的过程写下来,合并到这个项目中来:
https://github.com/softwaredownload/openwrt-fanqiang

如何编译OpenWrt自动翻墙固件

  • 首先把本项目clone到本地目录,如 ~/Downloads/openwrt-fanqiang
  • 原始配置文件
    • ~/Downloads/openwrt-fanqiang/openwrt/default 默认配置文件夹
    • ~/Downloads/openwrt-fanqiang/openwrt/wndr4300 针对特定路由器型号的配置文件,此处以wndr4300为例
  • 复制配置文件
    • 本地建立配置文件目录,如 ~/Downloads/openwrt-wndr4300
    • 复制默认配置文件夹下面的文件到 ~/Downloads/openwrt-wndr4300/ 下
    • 如果有针对特定路由器的配置文件,也复制到~/Downloads/openwrt-wndr4300/,并覆盖同名文件
  • 修改配置文件,编译后就直接可以用了。否则刷上固件后登录路由器再修改。主要修改:
    • openwrt-wndr4300/etc/shadowsocks.json
    • openwrt-wndr4300/usr/bin/shadowsocks-firewall
    • openwrt-wndr4300/etc/uci-defaults/defaults
  • 编译自定义固件,设置FILES=~/Downloads/openwrt-wndr4300

本项目规定的默认值

shadowsocks server:			1.0.9.8
shadowsocks server_port:	1098
shadowsocks local_port:		7654
shadowsocks tunnel_port:	3210
shadowsocks password:		killgfw
shadowsocks method:			aes-256-cfb
root login password:		fanqiang
WIFI password:				icanfly9876  (for DIR-505 and TLWR2543 before 2015: wsjdw,8181)                               
                                                              

相关资源

授权许可

除特别声明外,本书中的内容使用CC BY-SA 3.0 License(创作共用 署名-相同方式共享3.0许可协议)授权,代码遵循BSD 3-Clause License(3项条款的BSD许可协议)。

在线阅读OpenWrt翻墙路由器教程:

openwrt-fanqiang's People

Contributors

newboydj169 avatar phoeagon avatar ripples-alive avatar softwaredownload avatar spdffxyp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.