{"id":21885969,"url":"https://github.com/garywill/proxc","last_synced_at":"2025-04-15T07:56:46.237Z","repository":{"id":97198391,"uuid":"111874723","full_name":"garywill/proxc","owner":"garywill","description":"configure DNS/proxy for one process execution on Linux 📡","archived":false,"fork":false,"pushed_at":"2025-03-28T13:00:04.000Z","size":13,"stargazers_count":22,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T07:56:27.221Z","etag":null,"topics":["bubblewrap","bwrap","cli","dns","linux","mount-namespace","per-app-dns","per-process-dns","proxy","proxychains","unshare"],"latest_commit_sha":null,"homepage":"https://garywill.github.io","language":"Shell","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/garywill.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-24T04:06:34.000Z","updated_at":"2025-04-02T14:30:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f1043b5-f7a8-4714-9e88-9721d48dae69","html_url":"https://github.com/garywill/proxc","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/garywill%2Fproxc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garywill%2Fproxc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garywill%2Fproxc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garywill%2Fproxc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garywill","download_url":"https://codeload.github.com/garywill/proxc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249031777,"owners_count":21201357,"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":["bubblewrap","bwrap","cli","dns","linux","mount-namespace","per-app-dns","per-process-dns","proxy","proxychains","unshare"],"created_at":"2024-11-28T10:31:09.481Z","updated_at":"2025-04-15T07:56:46.232Z","avatar_url":"https://github.com/garywill.png","language":"Shell","readme":"# proxc\n\n1. per-process DNS configuration on Linux\n2. per-process proxy configuration on Linux\n\n## Configure DNS for Linux command execution\n\n```\nproxc -d \u003cdns-ip\u003e [-d \u003cdns-ip_2\u003e] -c \u003ccommand and args\u003e\n```\n\nExecute command with the DNS you specify.\n\nIt uses bubblewrap to create a mount namespace, in which processes see the DNS you want in a fake `/etc/resolv.conf`.\n\nIt bans in the namespace `/var/run/nscd` so processes can't use system's DNS cache\n\n\u003e Now it requires bubblewrap \u003e= 0.11.0 . If you're using older bubblewrap, please use old proxc 1.0\n\n## Configure proxy for Linux command execution\n\n```\nproxc -p socks5|socks4|http \u003cproxy_ip\u003e \u003cproxy_port\u003e -c \u003ccommand and args\u003e\n```\n\nExecute command with `proxychains` applied without having to edit `proxychains.conf` . Useful when you just want to run some app temporarily behind a single proxy.\n\nIt generates and uses a `proxychains.conf` in memory.\n\n\u003e **Notice:** proxychains doesn't ensure process must go through the proxy. There can be leaks.\n\n## Configure both DNS \u0026 proxy\n\n    proxc [-d \u003cdns-ip\u003e] [-p socks5|socks4|http \u003cproxy_ip\u003e \u003cproxy_port\u003e]  -c \u003ccommand and args\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarywill%2Fproxc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarywill%2Fproxc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarywill%2Fproxc/lists"}