I love jellyfish.
And it is almost transparent. XD
git clone https://github.com/7sDream/jellyap.git
cd jellyap
chmod +x jellyap.sh
./jellyap.sh
will let you into a wizard.
Or if you already know what network interface should be used, run this:
./jellyap.sh eth0 wlan0 NAME PASSWORD no
The 5th argument no
means don't enable shadowsocks relay, you can turn on it by value yes
With wizard:
With arguments:
Argument order:
WAN LAN AP_NAME AP_PASSWORD yes SS_ADDR SS_PORT SS_PASSWORD SS_METHOD SS_LOCAL_PORT
You see, just connect the WiFi we create, without any configure or other apps, we already behind a transparent proxy.
Speed depends on your shadowsocks connection and local network quality, in my test, it can run out of all my WAN bandwidth
My test machines:
- Shadowsocks server: 1 CPU, 500M RAM, 1000M Bandwidth, DightalOcean, SGP
- Local shadowsocks client: i7-4500U, 8G RAM, 10M Bandwidth, TianJin, China
- WiFi client: Oneplus 3, Android 7.1.1, OxygenOS
Result:
- hostapd
- dnsmasq
- nmcli (network-manager)
- rfkill (rfkill)
- ip (iproute2)
- iptables
- shadowsocks-libev (if enable shadowsocks relay, AP as a transparent proxy)
- run as root
just open jellyap.sh
, find the [User configure]
section(line 24).
read the comment and you know how to configure this script.
MIT.