Home

Awesome

raspberry-ss

在树莓派上配置一个透明代理 (使用 shadowsocks & chinadns)

简介

使用shadowsocks (SS)需要服务端的设置和客户端的设置。

对每台设备的配置都是必不可少的。好在某些SS客户端可以共享连接,但是应用代理的配置依然必须。

如果我们建立一个透明代理,在透明代理后面运行SS客户端,那么我们甚至可以完全避免智能终端上的配置。

我们将在一台树莓派(p3 b型,官方操作系统Raspbian)上配置一个这样的透明代理,并把它当网关使用。

环境

假设你有很多智能设备:电脑、智能手机、平板电脑。它们都通过同一个路由器上网。

另外,你需要一台SS服务器。 (详细配置过程不在此讨论)

步骤

树莓派上:

使用

推荐使用方法2, 这样的话,智能设备只要连上这台路由器就能直接使用SS服务,而不需要任何配置.

raspberry-ss

Setup transparent proxy server (use shadowsocks & chinadns) on raspberry pi

intro

Using shadowsocks (SS) requires server setup and client setup.

Generally, client configuration is required for every device. (although you may share SS service from a device, but proxy setting is still required)

Suppose we have a transparent proxy server, and run SS client in backgound, then, no more device side setting is required.

This project will help you to setup a transparent proxy server on raspberry pi 3. And run it as gateway

NOTE: only tested on raspberry pi 3 model b (with official os: Raspbian).

Environment

Suppose you have smart devices, e.g., computers, smart phones, pads. Devices connet to the internet through a same router.

And, you need an working SS server. (detailed setup steps are not inclued here)

Steps

On your raspberry:

Usage

Method 2 is recommended, because no any device side configuration required.