{"id":13826292,"url":"https://github.com/shikanon/socks5proxy","last_synced_at":"2025-04-09T20:08:53.817Z","repository":{"id":39376028,"uuid":"154813523","full_name":"shikanon/socks5proxy","owner":"shikanon","description":"一个简单的socks5代理转发服务(VPN)","archived":false,"fork":false,"pushed_at":"2023-02-25T00:42:27.000Z","size":42,"stargazers_count":201,"open_issues_count":8,"forks_count":70,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-09T20:08:48.850Z","etag":null,"topics":["go","shadowsocks","socks5","vpn"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shikanon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-26T09:52:28.000Z","updated_at":"2025-03-27T15:19:06.000Z","dependencies_parsed_at":"2024-01-07T22:49:31.061Z","dependency_job_id":"aca81f88-3f01-4cbb-9505-5e7296b95868","html_url":"https://github.com/shikanon/socks5proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shikanon%2Fsocks5proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shikanon%2Fsocks5proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shikanon%2Fsocks5proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shikanon%2Fsocks5proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shikanon","download_url":"https://codeload.github.com/shikanon/socks5proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","shadowsocks","socks5","vpn"],"created_at":"2024-08-04T09:01:35.170Z","updated_at":"2025-04-09T20:08:53.798Z","avatar_url":"https://github.com/shikanon.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"d62a971d37c69db9f3b9187318c3921a\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"8ea8f890cf767c3801b5e7951fca3570\"\u003e\u003c/a\u003e公网访问局域网"],"readme":"\u003cimg src=\"./img/logo.png\" width=\"600\"\u003e\n\n# Socks5Proxy\n\n[![GitHub license](https://img.shields.io/github/license/shikanon/socks5proxy)](https://github.com/shikanon/socks5proxy/blob/master/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/shikanon/socks5proxy)](https://github.com/shikanon/socks5proxy/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/shikanon/socks5proxy)](https://github.com/shikanon/socks5proxy/network)\n[![Language](https://img.shields.io/badge/Language-Go-blue.svg)](https://golang.org/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/shikanon/socks5proxy)](https://goreportcard.com/report/github.com/shikanon/socks5proxy)\n\n\n用golang 实现了一个简单的socks5协议来实现代理转发，主要应用场景是給公司内部做VPN登陆，提供内网访问。*(声明：由于采用的是原始的socks5协议，并没有对协议做改造加工，并不一定能防范GFW的主动探测，请勿用于非法用途)*\n\n\n文件结构\n```\ncryptogram.go       `加密算法`\nsocks5.go           `socks5协议实现`\nserver.go           `服务端实现`\nclient.go           `客户端实现`\ncmd/server/main.go  `服务端主启动程序`\ncmd/client/main.go  `客户端主启动程`\n```\n\n\n- [SOCKS5协议介绍](./docs/socks5.md)\n- [加密算法介绍](./docs/cryptogram.md)\n- [软件下载及版本说明](./docs/release.md)\n\n#### 使用说明\n\n**服务端**\n在服务器端中启动路径，打开。/cmd/server/，运行`go run main.go`\n服务端命令参数有三个：\n```\n  -local string #设置服务器对外端口\n    \tInput server listen address(Default 8888): (default \":18888\")\n  -passwd string #设置服务器对外密码\n    \tInput server proxy password: (default \"123456\")\n  -type string #设置加密类型\n    \tInput encryption type: (default \"random\")\n```\n\n**客户端**\n在客户端中启动路径，打开。/cmd/client/，运行`go run main.go`\n服务端命令参数有四个：\n```\n  -local string #设置客户端的本地转发端口\n        Input server listen address(Default 8888): (default \":8888\")\n  -passwd string #设置服务器的密码\n        Input server proxy password: (default \"123456\")\n  -server string #设置服务器ip地址和端口\n        Input server listen address, for example: 16.158.6.16:18181\n  -type string #设置加密类型\n    \tInput encryption type: (default \"random\")\n```\n\n## TODO\n\n* [ * ] 混淆加密\n* [ * ] 客户端","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshikanon%2Fsocks5proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshikanon%2Fsocks5proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshikanon%2Fsocks5proxy/lists"}