forked from riobard/go-shadowsocks2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# go-shadowsocks2 | ||
|
||
A fresh implementation of Shadowsocks in Go. | ||
|
||
GoDoc at https://godoc.org/github.com/riobard/go-shadowsocks2/ | ||
|
||
|
||
## Features | ||
|
||
- SOCKS5 proxy | ||
- Netfilter TCP redirect (IPv6 should work but not tested) | ||
- UDP tunneling (e.g. tunneling DNS) | ||
- TCP tunneling (e.g. benchmark with iperf3) | ||
|
||
## Install | ||
|
||
```sh | ||
go install github.com/riobard/go-shadowsocks2 | ||
``` | ||
|
||
|
||
## Usage | ||
|
||
|
||
Server | ||
|
||
```sh | ||
go-shadowsocks2 -s :8488 -cipher aes-128-gcm -key 1234567890abcdef1234567890abcdef -verbose | ||
``` | ||
|
||
|
||
Client | ||
|
||
```sh | ||
go-shadowsocks2 -c [server_address]:8488 -cipher aes-128-gcm -key 1234567890abcdef1234567890abcdef \ | ||
-socks :1080 -udptun :1080=8.8.8.8:53,:1081=8.8.4.4:53 -tcptun :1082=localhost:5201 | ||
``` | ||
|