{"id":15686560,"url":"https://github.com/thenets/rinted-container","last_synced_at":"2026-01-29T23:32:21.938Z","repository":{"id":204065268,"uuid":"711035948","full_name":"thenets/rinted-container","owner":"thenets","description":"A containerized of rinetd. A user-mode TCP port redirection server.","archived":false,"fork":false,"pushed_at":"2025-09-08T00:15:28.000Z","size":300,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T23:35:18.490Z","etag":null,"topics":["docker","kubernetes","podman","proxy","rinet","tcp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thenets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"COPYING","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,"zenodo":null}},"created_at":"2023-10-28T03:02:19.000Z","updated_at":"2025-05-01T13:36:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5c6eaf0-8121-4025-9293-355c7043bc7c","html_url":"https://github.com/thenets/rinted-container","commit_stats":null,"previous_names":["thenets/rinted-container"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thenets/rinted-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Frinted-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Frinted-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Frinted-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Frinted-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenets","download_url":"https://codeload.github.com/thenets/rinted-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenets%2Frinted-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28890349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"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","kubernetes","podman","proxy","rinet","tcp"],"created_at":"2024-10-03T17:40:36.941Z","updated_at":"2026-01-29T23:32:21.915Z","avatar_url":"https://github.com/thenets.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Container release auto patch](https://github.com/thenets/rinted-container/actions/workflows/container-release-auto-patch.yml/badge.svg)](https://github.com/thenets/rinted-container/actions/workflows/container-release-auto-patch.yml)\n\n# rinetd: Containerized\n\nA user-mode TCP port redirection server. Made by Thomas Boutell and Sam Hocevar.\n\n---\n\nContainer images:\n- [Quay.io](https://quay.io/repository/thenets/rinetd)\n  - `quay.io/thenets/rinetd:latest`\n\n## How to use\n\nYou must have Podman or Docker installed in your system. I recommend Podman for security reasons; learn more:\n- My blog post: [How to securely share secrets with podman containers](https://blog.thenets.org/how-to-securely-share-secrets-with-podman-containers/)\n- Red Hat's docs: [What is Podman? Podman vs. Docker](https://www.redhat.com/en/topics/containers/what-is-podman#podman-vs-docker)\n\nYou can expose the ports to the host or use the `--net=host` option to use the host network stack.\n\n```bash\n# Rule format:\n#   \u003cfrom_ip\u003e \u003cfrom_port\u003e \u003cto_ip_or_domain\u003e \u003cto_port\u003e\n\n# Example:\n#   host 8080 -\u003e container 80\n#   host 8443 -\u003e container 443\n\n# Method 1: Using the port redirect\npodman run -it --rm \\\n    --name rinetd \\\n    -p 8080:80 \\\n    -p 8443:443 \\\n    -e RULE_blog_http=\"0.0.0.0 80 1.2.3.4 80\" \\\n    -e RULE_blog_https=\"0.0.0.0 443 1.2.3.4 443\" \\\n    quay.io/thenets/rinetd:latest\n\n# Method 2: Using the host network stack\npodman run -it --rm \\\n    --name rinetd \\\n    --net=host \\\n    -e RULE_blog_http=\"0.0.0.0 8080 1.2.3.4 80\" \\\n    -e RULE_blog_https=\"0.0.0.0 8443 1.2.3.4 443\" \\\n    quay.io/thenets/rinetd:latest\n```\n\n### Output example\n\n![Container example](./docs/container-example.png)\n\n## Why this project exists?\n\nThe rinetd project is my preferred way to redirect TCP ports. It is simple, easy to use, and it is reliable. However, recent Linux distributions have removed the package from their repositories, and it behaves as an old project, requiring dynamic libraries and a single configuration file.\n\nThis repository contains a different approach, putting the rinetd inside Linux containers, with periodic builds for security patches and a simple way to configure the rules using environment variables.\n\n## Credits\n\nrinetd, by Thomas Boutell and Sam Hocevar. Released under the terms\nof the GNU General Public License, version 2 or later.\n\nThis program is used to efficiently redirect connections from one IP\naddress/port combination to another. It is useful when operating virtual\nservers, firewalls and the like.\n\nTo build under Unix, run `./bootstrap` to create the configuration\nfiles, then `./configure` to create the build files, and then type\n`make` to build rinetd. To install, type `make install` as root.\n\nFor documentation run `make install`, then type `man rinetd` for\ndetails. Or, read `index.html` in your browser.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenets%2Frinted-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenets%2Frinted-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenets%2Frinted-container/lists"}