{"id":19311041,"url":"https://github.com/a0s/3proxy-config-generator","last_synced_at":"2026-03-01T01:01:09.001Z","repository":{"id":146414601,"uuid":"76687629","full_name":"a0s/3proxy-config-generator","owner":"a0s","description":"Helps to generate 3proxy's configs with much number of IPs","archived":false,"fork":false,"pushed_at":"2017-05-26T23:46:22.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T04:47:27.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/a0s.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":"2016-12-16T21:44:30.000Z","updated_at":"2023-09-18T21:23:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2585f82-c238-4dc3-b374-ce8807a84715","html_url":"https://github.com/a0s/3proxy-config-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a0s/3proxy-config-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2F3proxy-config-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2F3proxy-config-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2F3proxy-config-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2F3proxy-config-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a0s","download_url":"https://codeload.github.com/a0s/3proxy-config-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2F3proxy-config-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29957128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-10T00:27:26.278Z","updated_at":"2026-03-01T01:01:08.934Z","avatar_url":"https://github.com/a0s.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"3proxy-config-generator helps to generate config for 3proxy to proxy interval of ports/ips to another ips interval\n\n## How to use\n\n```\n\u003e apt-get install ruby ruby-bundler git\n\u003e git clone https://github.com/a0s/3proxy-config-generator.git\n\u003e cd 3proxy-config-generator\n\u003e bundle install --deployment\n\u003e bundle exec ./bin/generator -h\n```\n    \n## Get list of available ips\n\n```\n\u003e bundle exec ./bin/ips\n+---------------------------+---------------------+\n| 10.18.0.5                 | ipv4 ipv4_private   |\n| 127.0.0.1                 | ipv4 ipv4_loopback  |\n| 168.16.12.73              | ipv4                |\n| 2a03:b2c0:2:a0::1363:f000 | ipv6                |\n| 2a03:b2c0:2:a0::1363:f001 | ipv6                |\n| ::1                       | ipv6 ipv6_loopback  |\n| fe83::a2cb:8aff:fea1:1229 | ipv6 ipv6_linklocal |\n+---------------------------+---------------------+\n```\n\n# Examples of usage\n\n## One input ip4 with many ports to many ip6 as output\n\n```\nbundle exec ./bin/generator \\\n    --src-addr 188.176.52.33 \\\n    --src-port 40000+4 \\\n    --dst-addr 2a03:b0c0:2:d0::1073:f000+4 \\\n    --auth-iponly 138.40.22.189   \n```\n\nResult:\n\n```\nlog\nnserver 8.8.8.8\nnserver 8.8.4.4\nnserver 2001:4860:4860::8888\nnserver 2001:4860:4860::8844\nnscache6 65536\nnscache 65536\nsetgid 65534\nsetuid 65534\n\nauth iponly\nallow * 138.40.22.189\nsocks -i188.176.52.33 -p40000 -e2a03:b0c0:2:d0::1073:f000 -6\nflush\n\nauth iponly\nallow * 138.40.22.189\nsocks -i188.176.52.33 -p40001 -e2a03:b0c0:2:d0::1073:f001 -6\nflush\n\nauth iponly\nallow * 138.40.22.189\nsocks -i188.176.52.33 -p40002 -e2a03:b0c0:2:d0::1073:f002 -6\nflush\n\nauth iponly\nallow * 138.40.22.189\nsocks -i188.176.52.33 -p40003 -e2a03:b0c0:2:d0::1073:f003 -6\nflush\n```\n\n## Many input ip6 with same port to same ip6 as output\n\n```\nbundle exec ./bin/generator \\\n    --src-addr a2a2::e000-a2a2::e003 \\\n    --src-port 40000 \\\n    --dst-as-src \\\n    --auth-iponly 138.40.22.189\n```\n\nResult:\n\n```\nlog\nnserver 8.8.8.8\nnserver 8.8.4.4\nnserver 2001:4860:4860::8888\nnserver 2001:4860:4860::8844\nnscache6 65536\nnscache 65536\nsetgid 65534\nsetuid 65534\n\nauth iponly\nallow * 138.40.22.189\nsocks -ia2a2::e000 -p40000 -ea2a2::e000 -6\nflush\n\nauth iponly\nallow * 138.40.22.189\nsocks -ia2a2::e001 -p40000 -ea2a2::e001 -6\nflush\n\nauth iponly\nallow * 138.40.22.189\nsocks -ia2a2::e002 -p40000 -ea2a2::e002 -6\nflush\n\nauth iponly\nallow * 138.40.22.189\nsocks -ia2a2::e003 -p40000 -ea2a2::e003 -6\nflush\n```\n\n## Random output\n\n```\nbundle exec ./bin/generator \\\n    --src-addr aaaa::e000 \\\n    --src-port 40000 \\\n    --dst-addr cccc::0000+4 \\\n    --auth-iponly 138.40.22.189\n```\n    \nResult\n\n```\nlog\nnserver 8.8.8.8\nnserver 8.8.4.4\nnserver 2001:4860:4860::8888\nnserver 2001:4860:4860::8844\nnscache6 65536\nnscache 65536\nsetgid 65534\nsetuid 65534\n\nauth iponly\nallow * 138.40.22.189\nparent 250 extip cccc:: 0\nparent 250 extip cccc::1 0\nparent 250 extip cccc::2 0\nparent 250 extip cccc::3 0\nsocks -iaaaa::e000 -p40000 -6\nflush\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2F3proxy-config-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa0s%2F3proxy-config-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2F3proxy-config-generator/lists"}