{"id":24751988,"url":"https://github.com/mizosukedev/securetunnel","last_synced_at":"2026-05-09T10:47:27.122Z","repository":{"id":38320213,"uuid":"489862954","full_name":"mizosukedev/securetunnel","owner":"mizosukedev","description":"AWS secure tunneling localproxy go implementation.","archived":false,"fork":false,"pushed_at":"2022-07-25T06:25:15.000Z","size":165,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T10:30:16.626Z","etag":null,"topics":["aws","go","golang","localproxy","securetunneling","tcp","tunnel"],"latest_commit_sha":null,"homepage":"","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/mizosukedev.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}},"created_at":"2022-05-08T06:18:01.000Z","updated_at":"2023-07-25T11:45:44.000Z","dependencies_parsed_at":"2022-08-25T03:03:00.300Z","dependency_job_id":null,"html_url":"https://github.com/mizosukedev/securetunnel","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosukedev%2Fsecuretunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosukedev%2Fsecuretunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosukedev%2Fsecuretunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosukedev%2Fsecuretunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizosukedev","download_url":"https://codeload.github.com/mizosukedev/securetunnel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052651,"owners_count":20553163,"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":["aws","go","golang","localproxy","securetunneling","tcp","tunnel"],"created_at":"2025-01-28T10:26:27.208Z","updated_at":"2026-05-09T10:47:22.086Z","avatar_url":"https://github.com/mizosukedev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS IoT secure tunneling localproxy implementation\n- This is a repository created for studying for rehabilitation.\n- I do not speak English, so corrections in English are welcome.\n\n## Reference\n- [AWS documents](https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html)\n\n- [V2WebSocketProtocolGuide.md](https://github.com/aws-samples/aws-iot-securetunneling-localproxy/blob/v2.1.0/V2WebSocketProtocolGuide.md)\n\n\n## localproxy golang implementation\n### Build\n\n- You have docker environment.\n\n    ``` sh\n    $ git clone https://github.com/mizosukedev/securetunnel\n    $ cd securetunnel\n\n    $ ./misc/docker/run_on_docker.sh make build\n    # or\n    $ ./misc/docker/run_on_docker.sh make\n    ```\n\n- You have golang environment.\n\n    ``` sh\n    $ cd \"${GOPATH}/src\"\n    $ git clone https://github.com/mizosukedev/securetunnel\n    $ cd securetunnel\n    \n    $ make build\n    # or\n    $ make\n    ```\n\n### Usage\n\n#### Forward proxy\n- Setup forward proxy, if you need. The forward proxy can be specified with the `http_proxy` and `https_proxy` environment variables.\n\n- Exxample\n\n    ``` sh\n    $ proxy=http://[proxy host address]:[proxy port]\n    $ export https_proxy=${proxy}\n    $ export http_proxy=${proxy}\n    ```\n\n#### Source mode\n- Exmample:\n\n    ``` sh\n    $ export MITRA_LOCALPROXY_TOKEN=\u003cset source token\u003e\n\n    # If destinationConfig.services was not specified when running OpenTunnel.\n    $ mitra_localproxy -e \"wss://data.tunneling.iot.us-east-1.amazonaws.com:443/tunnel\" -s 10022\n\n    # If you specified destinationConfig.services (multiple services) when running OpenTunnel,\n    # specify services in the format \"service name=[address:]port\", separated by commas.\n    $ mitra_localproxy -e \"wss://data.tunneling.iot.us-east-1.amazonaws.com:443/tunnel\" -s \"SSH=10022, RDP=13389\"   \n    ```\n\n#### Destination mode\n- Example:\n\n    ``` sh\n    $ export MITRA_LOCALPROXY_TOKEN=\u003cset destination token\u003e\n\n    # If destinationConfig.services was not specified when running OpenTunnel.\n    $ mitra_localproxy -e wss://data.tunneling.iot.us-east-1.amazonaws.com:443/tunnel -d 22\n\n    # If you specified destinationConfig.services (multiple services) when running OpenTunnel,\n    # specify services in the format \"service name=[address:]port\", separated by commas.\n    $ mitra_localproxy -e wss://data.tunneling.iot.us-east-1.amazonaws.com:443/tunnel -d \"SSH=22, RDP=3389\"\n    ```\n\n## Server (TBD)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizosukedev%2Fsecuretunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizosukedev%2Fsecuretunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizosukedev%2Fsecuretunnel/lists"}