{"id":21595197,"url":"https://github.com/euank/v6plus-tun","last_synced_at":"2025-04-11T00:06:57.114Z","repository":{"id":66058264,"uuid":"599914360","full_name":"euank/v6plus-tun","owner":"euank","description":"A shell script, but in rust, to perform \"v6 plus\" ipv4 tunnel setup using configuration derived with map-e","archived":false,"fork":false,"pushed_at":"2025-01-25T01:22:34.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T00:06:51.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","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/euank.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-02-10T06:44:07.000Z","updated_at":"2025-03-13T05:14:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcc524ec-c93b-4771-85ac-5669162b8e62","html_url":"https://github.com/euank/v6plus-tun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fv6plus-tun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fv6plus-tun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fv6plus-tun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fv6plus-tun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euank","download_url":"https://codeload.github.com/euank/v6plus-tun/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317707,"owners_count":21083528,"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-24T17:33:55.863Z","updated_at":"2025-04-11T00:06:57.090Z","avatar_url":"https://github.com/euank.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"##  v6plus tun\n\nRust code to setup a \"v6 plus\" tunnel using the well-known-ish map-e values.\n\nThis is meant to work with the NTT hikari setup you'll encounter in large parts of Japan.\n\n### Modes of operation\n\nThere are two modes of operation at the moment:\n\n1. map-e calculator - identical to http://ipv4.web.fc2.com/map-e.html\n\n    This mode exists to validate that the map-e calculations match an existing known-to-work tool\n\n2. ip tunnel creation - create the necessary linux interfaces and iptables rules to actually route ipv4 traffic\n\n    This mode just shells out to linux utilities to accomplish everything. It's a glorified bash script, but whatever\n\n### Usage\n\n```\nWAN=\"\"  # eth0, enp0s1, something like that\nADDR=\"\" # ipv6 address you were assigned\n\n# Must be run as root\nv6plus-tun setup-linux --wan $WAN $ADDR\n```\n\n### Future work\n\nIt's intended to eventually implement the full map-e and tunneling logic as a userspace daemon, but who knows if I'll ever get to that.\n\nAfter all, linux tunnels work fine, why bother, right?\n\n### License\n\nMIT\n\nPlease note, the map-e calculator code is derived from javascript code with an\nunclear license. The portions copied are pure math though, so probably not\ncopyrightable? Regardless, beware that copyright of that portion could be iffy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fv6plus-tun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuank%2Fv6plus-tun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fv6plus-tun/lists"}