Skip to content

gunsluo/sandwich

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sandwich

A fucking simple, smart, and tun-based(powered by gVisor TCP/IP stack) transparent proxy for the people in China Mainland.

Server

  1. compile from source code for your Linux server:
GOOS=linux GOARCH=amd64 go build -o ~/sandwich-amd64-linux .
  1. use acme.sh to ask for the certificate of Let's Encrypt.
  2. execute the command on the server:
~/sandwich-amd64-linux -cert-file=/root/.acme.sh/<youdomain.com>/fullchain.cer 
 -private-key-file=/root/.acme.sh/<youdomain.com>/<youdomain.com>.key
 -listen-addr=:443 
 -server-mode=true
 -secret-key=key

Client(macOS only)

  1. compile from source code for your macOS:
go build -o ~/sandwich-amd64-darwin .
  1. execute the command on your macOS:
sudo ~/sandwich-amd64-darwin -server-addr=<yourdomain:443> -secret-key=key

Credits

About

A fucking simple, smart, and tun-based(powered by gVisor TCP/IP stack) transparent proxy for the people in China Mainland.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%