Skip to content

Socccks is a shadowsocks like separated socks5 proxy

License

Notifications You must be signed in to change notification settings

davidqhr/socccks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socccks

Build Status Go Report Card

I create this repo to learn golang, socks5 protocol and shadowsocks(ss).

                                                obstacle
                                                   |
                                                   |
                                                   |
         +--------------------+                    |                     +--------------------+
         |   your processes   |                    |                     |  real destination  |
         +--------------------+                    |                     +--------------------+
                   |                               |                               |
                   |                               |                               |
   socks5 protocol |                               |                               |
                   |                               |                               |
                   |                               |                               |
         +--------------------+           Encrypted Data pipe            +--------------------+
         |   socccks-client   | <--------------------------------------> |   socccks-server   |
         +--------------------+           through tcp socket             +--------------------+
                                                   |
----------------------------------------------------------------------------------------------------
                                                   |
              your computer                        |                         remote computer
                                                   |
                                                obstacle		

Socccks is a separated socks5 proxy. It allows you to access some resources that are behind a obstacle through a socks5 socket. The Data between socccks-client and socccks-server is encryped(aes-256-cfb) and no features.

install

  • install golang
  • install server: go get github.com/davidqhr/socccks/cli/socccks-server
  • install client: go get github.com/davidqhr/socccks/cli/socccks-client

usage

server side

# config.example.yml
{
  "address": "0.0.0.0",
  "users": {
    "david": 8112,
    "monika": 8113
  }
}
socccks-server -c config.example.yml

client side

socccks-client -s server_ip:server_port -l bindaddress:port -p pass
curl --socks5-hostname bindaddress:port https://www.google.com -v

# eg:
socccks-client -s 192.168.1.132:8113 -l localhost:1090 -p david
curl --socks5-hostname localhost:1090 https://www.google.com -v

Licence

MIT

About

Socccks is a shadowsocks like separated socks5 proxy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published