All Projects → imgk → Shadow

imgk / Shadow

Licence: gpl-3.0
A transparent proxy for Windows, Linux, macOS

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Shadow

mieru
見える是一款 socks5 网络代理(科学上网)工具。Mieru is a socks5 proxy to bypass censorship.
Stars: ✭ 63 (-25.88%)
Mutual labels:  socks5, shadowsocks, trojan
Netch
A simple proxy client
Stars: ✭ 10,297 (+12014.12%)
Mutual labels:  shadowsocks, socks5, trojan
Xray Core
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
Stars: ✭ 6,908 (+8027.06%)
Mutual labels:  socks5, shadowsocks, trojan
Shadowsocks Rust
A Rust port of shadowsocks
Stars: ✭ 3,455 (+3964.71%)
Mutual labels:  shadowsocks, socks5, transparent-proxy
V2ray Core
A platform for building proxies to bypass network restrictions.
Stars: ✭ 13,438 (+15709.41%)
Mutual labels:  shadowsocks, socks5, trojan
Xrayku
websocket proxy on heroku
Stars: ✭ 77 (-9.41%)
Mutual labels:  shadowsocks, trojan
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+590.59%)
Mutual labels:  shadowsocks, socks5
V2ray Desktop
最优雅的跨平台代理客户端,支持Shadowsocks(R),V2Ray和Trojan协议。The most elegant cross-platform proxy GUI client that supports Shadowsocks(R), V2Ray, and Trojan. Built with Qt5 and QML2.
Stars: ✭ 671 (+689.41%)
Mutual labels:  shadowsocks, trojan
Surgio
Generating rules for Surge, Clash, Quantumult... like a PRO.
Stars: ✭ 777 (+814.12%)
Mutual labels:  shadowsocks, trojan
Multi V2ray
v2ray/xray多用户管理部署程序
Stars: ✭ 5,382 (+6231.76%)
Mutual labels:  socks5, trojan
Python Proxy
HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.
Stars: ✭ 692 (+714.12%)
Mutual labels:  shadowsocks, socks5
Freess
免费ss账号 免费shadowsocks账号 免费v2ray账号 (长期更新)
Stars: ✭ 6,544 (+7598.82%)
Mutual labels:  shadowsocks, socks5
Free
翻墙、免费翻墙、免费科学上网、免费节点、免费梯子、免费ss/v2ray/trojan节点、蓝灯、谷歌商店、翻墙梯子
Stars: ✭ 16,689 (+19534.12%)
Mutual labels:  trojan, shadowsocks
Leaf
A lightweight and fast proxy utility tries to include any useful features.
Stars: ✭ 530 (+523.53%)
Mutual labels:  shadowsocks, trojan
Go Shadowsocks2
Experimental Shadowsocks in Go. Stable fork at https://github.com/shadowsocks/go-shadowsocks2
Stars: ✭ 530 (+523.53%)
Mutual labels:  shadowsocks, socks5
V2board
🚀A v2ray and trojan panel application interface
Stars: ✭ 733 (+762.35%)
Mutual labels:  shadowsocks, trojan
New Pac
翻墙-科学上网、免费翻墙、免费科学上网、免费自由上网、fanqiang、翻墙梯子、免费软件/方法,一键翻墙浏览器,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点分享,vps一键搭建翻墙服务器脚本/教程,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙
Stars: ✭ 31,869 (+37392.94%)
Mutual labels:  shadowsocks, trojan
Shadowsocks Php
A php port of shadowsocks based on workerman. A socks5 proxy written in PHP.
Stars: ✭ 869 (+922.35%)
Mutual labels:  shadowsocks, socks5
Free proxy ss
分享来自互联网上免费的shadowsocks(SS)/ShadowsocksR(SSR)/V2ray(vmess)代理 每15分钟更新一次,每次各分享4个临时可用代理。 及时订阅、及时更新。
Stars: ✭ 72 (-15.29%)
Mutual labels:  shadowsocks, socks5
Fanqiang
翻墙-科学上网
Stars: ✭ 23,428 (+27462.35%)
Mutual labels:  shadowsocks, trojan

Shadow

A transparent proxy client for Windows, Linux and macOS, which now supports shadowsocks, trojan, socks5, http and wireguard, as well as all methods supported by v2ray.

How to build

Build with Go 1.16.

Replace $(proto) with names of proxies which you want to use. Currently shadow supports socks, shadowsocks, trojan, http, wireguard or v2ray.

# linux darwin windows,wintun
go get -v -ldflags="-s -w" -trimpath -tags="$(proto)" github.com/imgk/shadow

# windows,windivert
go get -v -ldflags="-s -w" -trimpath -tags="divert $(proto)" github.com/imgk/shadow

How to use it

->  ~ go/bin/shadow -h
Usage of go/bin/shadow:
  -c string
        config file (default "config.json")
  -t duration
        timeout (default 3m0s)
  -v    enable verbose mode

Windows

For WinTun, download WinTun and put wintun.dll in C:\Windows\System32.

For WinDivert, download WinDivert 2.2 and put WinDivert.dll and WinDivert64.sys in C:\Windows\System32.

GUI

Use shadow with simple GUI shadow-windows.

CLI

Run shadow.exe with administrator privilege.

go/bin/shadow.exe -c C:/Users/example/shadow/config.json -v

Linux and OpenWrt Router

  1. Set system DNS server. Please add DNS server to ip_cidr_rules.proxy for diverting all DNS queries to shadow.
sudo go/bin/shadow -c /etc/shadow.json -v

If you are using OpenWrt, you need to configure firewall.

# set tun name in the config.json
export TunName=utun

# configure firewall for OpenWrt
iptables -I FORWARD -o $TunName -j ACCEPT
iptables -t nat -I POSTROUTING -o $TunName -j MASQUERADE

macOS

  1. Set system DNS server. Please add DNS server to ip_cidr_rules.proxy for diverting all DNS queries to shadow.
sudo go/bin/shadow -c /etc/shadow.json -v

Documentation

Please read doc/README.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].