- Notifications
You must be signed in to change notification settings - Fork27
socks5 proxy,support tcp,udp
License
NotificationsYou must be signed in to change notification settings
0990/socks5
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
中文文档
A lightweight SOCKS proxy server that supports socks4, socks4a, and socks5 protocols. The code is simple and easy to read, just like the original SOCKS protocol.
- supportsocks4,socks4a,socks5(TCP&UDP)
- Supportssocks5 username/password authentication
Download the latest program for your operating system and architecture from theRelease page.Extracting,then execute the binary file directly (Linux platform requires execution permission)
./ss5
or
./ss5 -c ./ss5.json
The ss5.json file in the extracted directory is the configuration file
Simple configuration instructions:
ListenPort The listening port for TCP and UDP proxies, default is 1080 UserName,Password Fill in if username/password authentication is required, default is empty LogLevel Log level (debug, info, warn, error)go get github.com/0990/socks5Here is a simple example:
s := socks5.NewServer(socks5.ServerCfg{ ListenPort: 1080, UserName: "", Password: "", UDPTimout: 60, TCPTimeout: 60, LogLevel:"error"})err := s.Run()if err != nil {log.Fatalln(err)}- Support BIND command
About
socks5 proxy,support tcp,udp
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.