{"repo":"nskondratev/socks5-proxy-server","free":true,"listed":false,"github":"https://github.com/nskondratev/socks5-proxy-server","clone":"git clone https://github.com/nskondratev/socks5-proxy-server.git","description":"SOCKS5 proxy server","language":"JavaScript","stars":142,"topics":["socks5","socks5-proxy","self-hosted","docker","docker-compose"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Socks5 proxy server Prerequisites Docker (Install Docker) How to run - Copy .env.example file: cp .env.example .env - Fill in configuration: nano .env . Fields: - APP PORT - proxy server port (default: 54321), - LOG LEVEL - log level (default: INFO), - REQUIRE AUTH - if set to 1, anonymous users are not allowed. - Start application: docker compose up -d CLI commands In all commands you need to call js-script in app docker container. So you need to find out container name with proxy application by running the following command: For example, it will be socks5-proxy-server-proxy-1 . In all the following commands you need to replace socks5-proxy-server-proxy-1 with the yours container name. Create user Delete user Show users statistics Telegram bot for administration Configuration - Initialize bot at @botfather, get API token - Set params in .env: - PUBLIC URL - URL to server. E.g. http://proxy.domain.com:8443 - TELEGRAM API TOKEN - API token from BotFather - TELEGRAM WEBHOOK URL - default: /webhook - TELEGRAM USE WEBHOOKS - 1 - use webhooks, 0 - use polling. To use webhooks you need to generate ssl certificates - Create admin: You also can delete admin via script, if you need: Available commands - /users stats - show data usage statistics per user - /create user - create new proxy user - /delete user - delete proxy user - /get users - get list of proxy users - /generate pass [length] - generate random password with specified length (10 by default)","default_branch":null,"files":null,"tree":[],"storefront":"/r/nskondratev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nskondratev/socks5-proxy-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}