Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidqhr/socccks
Socccks is a shadowsocks like separated socks5 proxy
https://github.com/davidqhr/socccks
learn-to-code shadowsocks sock5-proxy-server socks5
Last synced: 25 days ago
JSON representation
Socccks is a shadowsocks like separated socks5 proxy
- Host: GitHub
- URL: https://github.com/davidqhr/socccks
- Owner: davidqhr
- License: mit
- Created: 2017-03-26T16:48:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T12:06:36.000Z (over 7 years ago)
- Last Synced: 2024-04-24T12:18:25.177Z (8 months ago)
- Topics: learn-to-code, shadowsocks, sock5-proxy-server, socks5
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 37
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-network-stuff - **36**星
README
# Socccks
[![Build Status](https://travis-ci.org/davidqhr/socccks.svg?branch=master)](https://travis-ci.org/davidqhr/socccks)
[![Go Report Card](https://goreportcard.com/badge/github.com/davidqhr/socccks)](https://goreportcard.com/report/github.com/davidqhr/socccks)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
```json
# config.example.yml
{
"address": "0.0.0.0",
"users": {
"david": 8112,
"monika": 8113
}
}```
```bash
socccks-server -c config.example.yml
```### client side
```bash
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