{"id":48140539,"url":"https://github.com/murilopereirame/surfwire","last_synced_at":"2026-04-04T16:51:17.036Z","repository":{"id":236796734,"uuid":"789859362","full_name":"murilopereirame/surfwire","owner":"murilopereirame","description":"Chain your Wireguard connections and manage them in a simple way with a Web ui and an Android app.","archived":false,"fork":false,"pushed_at":"2024-11-20T23:47:57.000Z","size":1499,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T16:35:07.741Z","etag":null,"topics":["docker","network","vpn","wireguard"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/murilopereirame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-21T18:40:42.000Z","updated_at":"2024-11-20T23:48:01.000Z","dependencies_parsed_at":"2024-05-02T15:37:42.171Z","dependency_job_id":"bb35adda-e912-4a81-b340-71f3d5c04a5b","html_url":"https://github.com/murilopereirame/surfwire","commit_stats":null,"previous_names":["murilopereirame/surfwire"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/murilopereirame/surfwire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilopereirame%2Fsurfwire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilopereirame%2Fsurfwire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilopereirame%2Fsurfwire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilopereirame%2Fsurfwire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murilopereirame","download_url":"https://codeload.github.com/murilopereirame/surfwire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilopereirame%2Fsurfwire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31406417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","network","vpn","wireguard"],"created_at":"2026-04-04T16:51:15.935Z","updated_at":"2026-04-04T16:51:17.019Z","avatar_url":"https://github.com/murilopereirame.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Surfwire\n\nChain your Wireguard connections and manage them in a simple way with a Web ui and an Android app.\n\n# Description\n\nThis project is intended for a server running a wireguard container with two interfaces: `wg0` and `external`.\nThe main use of such a setup is to use one Wireguard connection on your clients and split tunnel traffic based on your needs.\nIn the following explaination clients connect to `wg0` and traffic that is not directed to a specific private subnet or other\ndocker containers on the same host, is then routed to an external VPN provider. The VPN provider is in this case a commercial\nVPN solution, which supports Wireguard, like Surfshark or Mullvad.\n\nThis is a simplified diagram:\n\n![network diagram](diagram.png)\n\n# Details\n\n## wg0\n\n- `INTERNAL_VPN_ADDRESS`: IP address of the `wg0` interface. Can be chosed freely.\n- `INTERNAL_VPN_PRIVATE_KEY`: Private key for `wg0`. Generated by you.\n- `GATEWAY_IP`: IP address of the container's gateway.\n- `CLIENT_PUBLIC_KEY`: Public key for your client.\n\n## external\n\n- `EXTERNAL_VPN_ADDRESS`: Wireguard IP address for the VPN service. This address is provided in their Wireguard config.\n- `EXTERNAL_VPN_PRIVATE_KEY`: Wireguard private key for the VPN service. Also provided from your VPN service.\n- `ROUTER_SUBNET`: A private subnet, which will be made accissable by your Wireguard clients.\n- `GATEWAY_IP`: IP address of the container's gateway\n- `EXTERNAL_VPN_PUBLIC_KEY`: Public key for your external VPN\n- `EXTERNAL_VPN_ENDPOINT`: Endpoint address for the external VPN\n\n## client\n\n- `CLIENT_PRIVATE_KEY`: Private key for your clients. Generated by you.\n- `CLIENT_INTERNAL_VPN_ADDRESS`: Address for your client on the `wg0` subnet. See `INTERNAL_VPN_ADDRESS` for reference.\n- `CLIENT_DNS`: DNS server for your client. This is necessary, but it could be any server you want.\n- `SURFWIRE_ENDPOINT`: Public IP of the Surfwire server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilopereirame%2Fsurfwire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurilopereirame%2Fsurfwire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilopereirame%2Fsurfwire/lists"}