{"id":20065000,"url":"https://github.com/easzlab/ezvpn","last_synced_at":"2025-10-26T10:04:10.908Z","repository":{"id":184783591,"uuid":"672469472","full_name":"easzlab/ezvpn","owner":"easzlab","description":"another way to bypass firewall","archived":false,"fork":false,"pushed_at":"2024-02-14T02:30:00.000Z","size":58,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T23:07:45.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easzlab.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-30T07:32:59.000Z","updated_at":"2024-05-27T13:57:30.000Z","dependencies_parsed_at":"2023-07-30T08:28:31.866Z","dependency_job_id":"9d094efb-d675-44fa-8a44-0ffea5627446","html_url":"https://github.com/easzlab/ezvpn","commit_stats":null,"previous_names":["easzlab/ezvpn"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easzlab%2Fezvpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easzlab%2Fezvpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easzlab%2Fezvpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easzlab%2Fezvpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easzlab","download_url":"https://codeload.github.com/easzlab/ezvpn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241494146,"owners_count":19971870,"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":[],"created_at":"2024-11-13T13:48:37.259Z","updated_at":"2025-10-26T10:04:05.875Z","avatar_url":"https://github.com/easzlab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EZVPN\n\n## 流程\n\n1. 客户端注册\n通过mTLS，客户端使用token，服务端验证通过，建立wss连接（控制连接）\n\n2. 客户端监听端口\n控制连接建立成功后，客户端监听tcp端口，监听实际socks5流量请求\n\n3. 客户端实际流量处理\n客户端新流量连接建立后，新建wss数据连接，连接建立成功后；数据转发如下：\n(socks client) \u003c--conn--\u003e Agent \u003c--ws--\u003e Server \u003c--conn--\u003e (socks server) \u003c--\u003e Destination\n\n## 编译\n\n1. macOS\n\n```\n# 编译 ezvpn-agent\nGOOS=darwin GOARCH=amd64 CGO=0 go build -o ezvpn-agent cmd/agent/main.go\n# 编译 ezvpn-server\nGOOS=darwin GOARCH=amd64 CGO=0 go build -o ezvpn-server cmd/server/main.go\n```\n\n2. linux\n\n```\n# 编译 ezvpn-agent\nGOOS=linux GOARCH=amd64 CGO=0 go build -o ezvpn-agent cmd/agent/main.go\n# 编译 ezvpn-server\nGOOS=linux GOARCH=amd64 CGO=0 go build -o ezvpn-server cmd/server/main.go\n```\n\n3. windows\n\n```\n# 编译 ezvpn-agent.exe，支持后台运行\nGOOS=windows GOARCH=amd64 CGO=0 go build -ldflags -H=windowsgui -o ezvpn-agent.exe cmd/agent/main.go\n# 编译 ezvpn-server.exe，支持后台运行\nGOOS=windows GOARCH=amd64 CGO=0 go build -ldflags -H=windowsgui -o ezvpn-server.exe cmd/server/main.go\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaszlab%2Fezvpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feaszlab%2Fezvpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaszlab%2Fezvpn/lists"}