All Projects → nskondratev → socks5-proxy-server

nskondratev / socks5-proxy-server

Licence: Apache-2.0 license
SOCKS5 proxy server

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to socks5-proxy-server

onionjuggler
Manage your Onion Services via CLI or TUI on Unix-like operating system with a POSIX compliant shell.
Stars: ✭ 31 (-34.04%)
Mutual labels:  self-hosted
exatorrent
Easy to Use Torrent Client. Can be hosted in Cloud. Files can be streamed in Browser/Media Player.
Stars: ✭ 1,557 (+3212.77%)
Mutual labels:  self-hosted
stashbox
Your personal Internet Archive
Stars: ✭ 42 (-10.64%)
Mutual labels:  self-hosted
SaorTech-cloud-services
A range of scripts to provision and configure open source cloud services.
Stars: ✭ 23 (-51.06%)
Mutual labels:  self-hosted
Segnalibro
Save and comment your favorite links from the web. It's just a bookmarking application.
Stars: ✭ 14 (-70.21%)
Mutual labels:  self-hosted
phpcollab
Project management and collaboration over the internet.
Stars: ✭ 42 (-10.64%)
Mutual labels:  self-hosted
simply-nzedb
The simplest way to get nZEDb up and running with docker
Stars: ✭ 67 (+42.55%)
Mutual labels:  self-hosted
2FAuth
A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
Stars: ✭ 664 (+1312.77%)
Mutual labels:  self-hosted
foolang
A toy programming language.
Stars: ✭ 33 (-29.79%)
Mutual labels:  self-hosted
Bitwarden Self Host
Automatically setup and host a Vaultwarden (unoffical Bitwarden) instance on a Raspberry Pi or other Linux Server
Stars: ✭ 87 (+85.11%)
Mutual labels:  self-hosted
bin
highly opinionated, minimal pastebin
Stars: ✭ 97 (+106.38%)
Mutual labels:  self-hosted
azcc
A toy C compiler, developed at seccamp2020.
Stars: ✭ 19 (-59.57%)
Mutual labels:  self-hosted
wombag
Wombag is the alternative, lightweight backend for your Wallabag apps. Wombag supports the Wallabag API.
Stars: ✭ 42 (-10.64%)
Mutual labels:  self-hosted
trusted-cgi
Lightweight runner for lambda functions/apps in CGI like mode
Stars: ✭ 150 (+219.15%)
Mutual labels:  self-hosted
Intranet-Home-Page
Intranet Home Page is a highly-configurable self-hosted browser homepage with integrations for public and local data feeds.
Stars: ✭ 56 (+19.15%)
Mutual labels:  self-hosted
Prox5
🧮 SOCKS5/4/4a 🌾 validating proxy pool and upstream SOCKS5 server for 🤽 LOLXDsoRANDum connections 🎋
Stars: ✭ 39 (-17.02%)
Mutual labels:  socks5
openbsd-selfhosted
🐡 Shell script for self-hosting cloud, email, and git services
Stars: ✭ 41 (-12.77%)
Mutual labels:  self-hosted
personal-crm
🗂 Minimalist personal CRM to keep in touch with contacts
Stars: ✭ 23 (-51.06%)
Mutual labels:  self-hosted
chatcola
chatcola.com messaging server - self-host your messages without multi-domain nightmare!
Stars: ✭ 25 (-46.81%)
Mutual labels:  self-hosted
dppm
An easy way to install and manage server applications
Stars: ✭ 107 (+127.66%)
Mutual labels:  self-hosted

Socks5 proxy server

Prerequisites

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:

docker-compose ps

For example, it will be socks5proxy_proxy_1.

In all the following commands you need to replace socks5proxy_proxy_1 with the yours container name.

Create user

docker exec -it socks5proxy_proxy_1 sh -c 'exec node scripts/create-user.js'

Delete user

docker exec -it socks5proxy_proxy_1 sh -c 'exec node scripts/delete-user.js'

Show users statistics

docker exec -it socks5proxy_proxy_1 sh -c 'exec node scripts/users-stats.js'

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:
docker exec -it socks5proxy_telegram_bot_1 sh -c 'exec node scripts/create-admin.js' 

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)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].