{"id":13826381,"url":"https://github.com/mysteriumnetwork/go-openvpn","last_synced_at":"2025-07-16T06:30:42.883Z","repository":{"id":48694900,"uuid":"144726162","full_name":"mysteriumnetwork/go-openvpn","owner":"mysteriumnetwork","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-12T01:14:52.000Z","size":25769,"stargazers_count":119,"open_issues_count":20,"forks_count":33,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-11-16T22:02:16.446Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mysteriumnetwork.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":"2018-08-14T13:45:33.000Z","updated_at":"2024-11-06T06:50:02.000Z","dependencies_parsed_at":"2024-06-20T11:18:53.422Z","dependency_job_id":null,"html_url":"https://github.com/mysteriumnetwork/go-openvpn","commit_stats":null,"previous_names":["mysteriumnetwork/openvpn3-go-bindings"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysteriumnetwork%2Fgo-openvpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysteriumnetwork%2Fgo-openvpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysteriumnetwork%2Fgo-openvpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysteriumnetwork%2Fgo-openvpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysteriumnetwork","download_url":"https://codeload.github.com/mysteriumnetwork/go-openvpn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226109875,"owners_count":17574945,"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-08-04T09:01:36.612Z","updated_at":"2024-11-23T23:58:58.367Z","avatar_url":"https://github.com/mysteriumnetwork.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"7cf7e8a30b73997985f20698eaf6b0c9\"\u003e\u003c/a\u003eOpenVPN"],"sub_categories":["\u003ca id=\"8ea8f890cf767c3801b5e7951fca3570\"\u003e\u003c/a\u003e公网访问局域网"],"readme":"# go-openvpn\n\n[![pipeline status](https://gitlab.com/mysteriumnetwork/go-openvpn/badges/master/pipeline.svg)](https://gitlab.com/mysteriumnetwork/go-openvpn/pipelines)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mysteriumnetwork/go-openvpn)](https://goreportcard.com/report/github.com/mysteriumnetwork/go-openvpn)\n\nGo gettable library for wrapping openvpn functionality in go way.\nThere are two main options for openvpn integration:\n1. As external process - go-openvpn provides external process controls (start/stop), handles management interface, can work both\nas client and a service. External openvpn exe IS NOT provided (tested with openvpn 2.4.x release)\n2. As built-in library - openvpn wraps c++ crosscompiled libary for all major oses (darwin,linux,win,ios and android), but has a\nlimitation - can only work as client only.\n\n\n## Development environment\n\n* **Step 1.** Get development dependencies\n```bash\ngo get github.com/karalabe/xgo\ngo get golang.org/x/mobile/cmd/gomobile\n```\n\n* **Step 2.** Get project dependencies\n```bash\nmake deps\n```\n\n* **Step 3.** Build example (Desktop)\n```bash\ngo run examples/desktop/main.go examples/profile.ovpn\n```\n\n* **Step 4.** Build example (iOS)\n```bash\n./gomobile_example_ios.sh\n```\n\n## Building bridge libraries\n```bash\nscripts/xgo_run.sh scripts/build-bridge.sh\n```\n\n## Run tests\n```\nmake test\n# We recommend running tests on frozen Linux container\nscripts/xgo_run.sh make test\n```\n\n## Build\n* **Step 1.** Sanity check\n```bash\n./check-all.sh\n```\n\n* **Step 2.** Build mobile libraries\n```bash\n./gomobile_ios.sh -o build/Openvpn3.framework\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysteriumnetwork%2Fgo-openvpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysteriumnetwork%2Fgo-openvpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysteriumnetwork%2Fgo-openvpn/lists"}