Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-server-with-tg-admin

Socks5 Proxy server with remote control via telegram bot.

Supported commands for admin:

/top

/create {username} [password] [ttl]

/activate {username} [ttl]

/deactivate {username}

/rename {username} {username}

/password {username} [password]

/ttl {username} [ttl]

/stat {username}

/clear {username}

/delete {username}

/users

/invite {username}

Supported commands for user:

/join {token}

/info

/passwd [password]

/name {username}

Using

Build bin file

docker run -v .:/app -w /app --rm golang:1.25-alpine go build -o socks5-proxy-server-with-tg cmd/server/main.go

Run bin file

socks5-proxy-server-with-tg --port-socks5=1080 --data-path=./.data --telegram-bot-token= --telegram-admin-id=

Where:

  • port-socks5 - Socks5 proxy server port
  • data-path - Path where will be storing server data
  • telegram-bot-token - Your bot token
  • telegram-admin-id - Your user id

Develop

docker run -v .:/app -w /app --rm golang:1.25-alpine go run cmd/server/main.go --env=dev --port-socks5=1080 --telegram-bot-token= --telegram-admin-id=
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v2.5.0-alpine golangci-lint run

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages