{"id":13906865,"url":"https://github.com/yashodhank/inlets-traefik-docker","last_synced_at":"2025-07-18T04:33:04.839Z","repository":{"id":148462196,"uuid":"287653236","full_name":"yashodhank/inlets-traefik-docker","owner":"yashodhank","description":"Inlets + Traefik 2 + Docker + Docker-Compose","archived":false,"fork":false,"pushed_at":"2020-11-29T00:27:10.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-07T23:49:11.193Z","etag":null,"topics":["docker","docker-compose","exit-node","inlets","linux","localhost","localhost-tunnel","nat-punchthrough","nat-traversal","ngrok","ngrok-alternative","reverse-proxy","traefik","traefik-docker","traefik-v2","traefik2","tunnel","tunneling","windows"],"latest_commit_sha":null,"homepage":"","language":null,"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/yashodhank.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}},"created_at":"2020-08-15T01:02:43.000Z","updated_at":"2023-03-01T16:33:34.000Z","dependencies_parsed_at":"2023-05-20T06:30:18.872Z","dependency_job_id":null,"html_url":"https://github.com/yashodhank/inlets-traefik-docker","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/yashodhank%2Finlets-traefik-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashodhank%2Finlets-traefik-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashodhank%2Finlets-traefik-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashodhank%2Finlets-traefik-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashodhank","download_url":"https://codeload.github.com/yashodhank/inlets-traefik-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226353488,"owners_count":17611713,"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":["docker","docker-compose","exit-node","inlets","linux","localhost","localhost-tunnel","nat-punchthrough","nat-traversal","ngrok","ngrok-alternative","reverse-proxy","traefik","traefik-docker","traefik-v2","traefik2","tunnel","tunneling","windows"],"created_at":"2024-08-06T23:01:43.861Z","updated_at":"2024-11-25T15:30:52.927Z","avatar_url":"https://github.com/yashodhank.png","language":null,"funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# inlets-traefik-docker\nInlets + Traefik 2 + Docker + Docker-Compose\n\nTraefik handles SSL for all subdomains of `*.exit.domain.ext` automatically with wildcard certificate using LetsEncrypt\n\n### DNS Records for exit node / server\n```dns\n;; A Records\ndomain.ext.              1\tIN\tA\t1.2.3.4\nexit.domain.ext.         1\tIN\tA\t1.2.3.4\n\n;; CNAME Records\n*.exit.domain.ext.       1\tIN\tCNAME\texit.domain.ext.\n```\n\n### Inlets Client Connection\n#### Linux Inlets Client\n1. Install inlets on client workstation or laptop using https://github.com/inlets/inlets#install-the-cli\n2. run following command\n```bash\ninlets client --upstream \"mysubdomain.exit.domain.ext=http://127.0.0.1:LOCALPORT\" --remote \"wss://exit.domain.ext\" --token \"REPLACE_WITH_YOUR_ACTUAL_INLET_SERVER_TOKEN\"\n```\n\n#### Windows Inlets Client\n1. First Download NSSM (it helps creates windows service of inlet client): https://nssm.cc/download\n2. For simplycity, I copied `nssm.exe` \u0026 `inlets.exe` to `C:\\Windows\\`\n3. created `inlet-service-install.cmd` file with following and run with administrator rights from `cmd.exe`\n```bat\nnssm install my.service.name C:\\Windows\\inlets.exe\nnssm set my.service.name AppParameters ^\"client --upstream=^\\^\"mysubdomain.exit.domain.ext=http://127.0.0.1:LOCALPORT^\\^\" --remote=wss://exit.domain.ext --token=REPLACE_WITH_YOUR_ACTUAL_INLET_SERVER_TOKEN^\"\nnssm set my.service.name AppDirectory C:\\Windows\nnssm set my.service.name AppExit Default Restart\nnssm set my.service.name AppStdout C:\\inlets.log\nnssm set my.service.name AppStdoutCreationDisposition 2\nnssm set my.service.name AppStderr C:\\inlets.error.log\nnssm set my.service.name AppStderrCreationDisposition 2\nnssm set my.service.name AppRotateFiles 1\nnssm set my.service.name AppRotateOnline 1\nnssm set my.service.name AppRotateSeconds 108000\nnssm set my.service.name AppRotateBytes 30000000\nnssm set my.service.name AppTimestampLog 1\nnssm set my.service.name Description \"This service maintains connection to API on localhost:port\"\nnssm set my.service.name DisplayName \"Inlets Test\"\nnssm set my.service.name ObjectName LocalSystem\nnssm set my.service.name Start SERVICE_AUTO_START\nnssm set my.service.name Type SERVICE_WIN32_OWN_PROCESS\n```\n\nIn case of `mysubdomain.exit.domain.ext` mentioned above `mysubdomain` part can be changed to anything you may like.\n\nhttp://127.0.0.1:LOCALPORT is having IIS/Apache running locally on my machine serving demo site.\n\nFeel free to modify and use as per your usecase.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashodhank%2Finlets-traefik-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashodhank%2Finlets-traefik-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashodhank%2Finlets-traefik-docker/lists"}