{"id":38595827,"url":"https://github.com/saaiful/socks5","last_synced_at":"2026-01-17T08:27:45.971Z","repository":{"id":185929892,"uuid":"674346232","full_name":"saaiful/socks5","owner":"saaiful","description":"Setup a SOCKS5 proxy server on an Ubuntu system","archived":false,"fork":false,"pushed_at":"2025-08-14T14:10:35.000Z","size":22,"stargazers_count":124,"open_issues_count":1,"forks_count":47,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-14T16:09:21.578Z","etag":null,"topics":["proxy","socks","socks5"],"latest_commit_sha":null,"homepage":"","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/saaiful.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,"zenodo":null}},"created_at":"2023-08-03T18:09:24.000Z","updated_at":"2025-08-14T14:10:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"529f1c9d-9688-4d56-ad73-4a58be603af1","html_url":"https://github.com/saaiful/socks5","commit_stats":null,"previous_names":["saaiful/socks5"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saaiful/socks5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saaiful%2Fsocks5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saaiful%2Fsocks5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saaiful%2Fsocks5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saaiful%2Fsocks5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saaiful","download_url":"https://codeload.github.com/saaiful/socks5/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saaiful%2Fsocks5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":["proxy","socks","socks5"],"created_at":"2026-01-17T08:27:45.413Z","updated_at":"2026-01-17T08:27:45.961Z","avatar_url":"https://github.com/saaiful.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SOCKS5 Proxy Setup Script for Ubuntu\n\nThis repository contains a script that helps you to setup a SOCKS5 proxy server on an Ubuntu system. The server uses `dante-server` and supports username/password authentication.\n\n## Prerequisites\n\n- Ubuntu system (This script was tested on Ubuntu 20.04, but should work with other versions as well).\n- User with `sudo` privileges.\n\n## Features\n- **Installation:** Installs dante-server and configures it with SOCKS5 authentication.\n- **Reconfiguration:** Update port and settings dynamically.\n- **User Management:** Add or update users with username/password authentication.\n- **Testing:** Automatically tests the proxy after setup using `curl`.\n- **Uninstallation:** Completely removes dante-server along with its configuration and logs.\n- **Dynamic Network Interface Detection:** Automatically detects the primary network interface for seamless configuration.\n- **Port Selection:** Allows specifying a custom port with validation.\n\n## Installation\nRun the script\n```bash\nwget https://raw.githubusercontent.com/saaiful/socks5/main/socks5.sh\nsudo bash socks5.sh\n```\n\nYou will be prompted for various options such as `reconfiguring`, `adding users`, or `uninstalling` the SOCKS5 server if it is already installed. During installation, you'll also be prompted for a `username` and `password` for the proxy authentication.\n\n\n## Testing the Proxy\nThe proxy can be tested from a Linux machine using `curl`. If you don't have curl installed, it can be installed with the following command:\n```bash\napt-get install curl\n```\n\n## Uninstallation\nTo completely remove the SOCKS5 server, select the `Uninstall` option when running the script. This will stop the service, remove the package, and clean up all related configuration and log files.\n\nYou can then test the proxy with:\n```\ncurl -x socks5://username:password@proxy_server_ip:1080 https://ifconfig.me\ncurl -x socks5://username:password@proxy_server_ip:1080 https://ipinfo.io\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaaiful%2Fsocks5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaaiful%2Fsocks5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaaiful%2Fsocks5/lists"}