{"id":13452017,"url":"https://github.com/bjerkins/docker-tunlr","last_synced_at":"2026-02-19T08:50:35.665Z","repository":{"id":77176965,"uuid":"160641863","full_name":"bjerkins/docker-tunlr","owner":"bjerkins","description":"ssh tunneling made easy.","archived":false,"fork":false,"pushed_at":"2018-12-06T21:18:39.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T18:52:58.967Z","etag":null,"topics":["autossh","autossh-tunnel-server","cli","ssh","tunneling"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bjerkins.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":"2018-12-06T08:16:42.000Z","updated_at":"2018-12-07T01:31:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"55c347a3-8678-418e-a0b6-82f244eb1198","html_url":"https://github.com/bjerkins/docker-tunlr","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/bjerkins%2Fdocker-tunlr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjerkins%2Fdocker-tunlr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjerkins%2Fdocker-tunlr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjerkins%2Fdocker-tunlr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjerkins","download_url":"https://codeload.github.com/bjerkins/docker-tunlr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245158910,"owners_count":20570285,"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":["autossh","autossh-tunnel-server","cli","ssh","tunneling"],"created_at":"2024-07-31T07:01:10.205Z","updated_at":"2026-02-19T08:50:35.607Z","avatar_url":"https://github.com/bjerkins.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Tunlr (beta)\n\u003e ssh tunneling made easy.\n\nTunlr is all about setting up tunnels to your services running on internal networks via a jumphost using a elegant CLI:\n\n```sh\ntunlr $ connect\n? Choose a service: (Use arrow keys)\n❯ grafana\n  mssql-database\n```\n\nIt uses `autossh` in the background which ensures your connection is kept steady.\n\n## Configuration\n\nTunlr uses `tunlr.json` to list and connect to your services. Example:\n\n```json\n[\n    {\n        \"id\": 10000,\n        \"name\": \"grafana\",\n        \"host\": \"tools-server\",\n        \"portLocal\": 3002,\n        \"portRemote\": 80\n    },\n    {\n        \"id\": 20000,\n        \"name\": \"mssql-database\",\n        \"host\": \"database-server\",\n        \"portLocal\": 1433,\n        \"portRemote\": 1433\n    }\n]\n```\n\n\u003e Note: The `id` is used internally as monitoring port for `autossh`.\n\n## Running in Docker (Recommended)\n\nUsing Docker makes it super easy to get up and running with the CLI. Given the example configuration here above:\n\n```sh\n$ docker run --rm -p 1433:1433 -p 3002:3002 -v ~/.ssh/:/root/ssh:ro -it bjerkins/tunlr\n```\n\nThe internal `ssh` config file includes all config files under `conf.d` at the mounted path. This is convenient as to not mix your local configuration with the internal one.\n\nExample of ssh configuration:\n\n```sh\n$ cat ~/.ssh/conf.d/config-aws\n\nHost jumphost\n    User username\n    HostName the.jumphost.server.address\n    IdentityFile ~/.ssh/key.file\n\nHost database-server\n    User username\n    HostName the.database.server.address\n    IdentityFile ~/.ssh/key.file\n    ProxyJump jumphost\n\nHost tools-server\n    User username\n    HostName the.tools.server.address\n    IdentityFile ~/.ssh/key.file\n    ProxyJump jumphost\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjerkins%2Fdocker-tunlr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjerkins%2Fdocker-tunlr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjerkins%2Fdocker-tunlr/lists"}