/socks5-go

socks5 proxy sever with manage user and usage traffic

Primary LanguageGo

Socs5 Proxy Server

SOCKS Protocol Version 5

TCP and IPv4/IPv6 support

Run Proxy Server

$ go run main.go

or in background

$ sh run.sh

Create User

$ go run main.go adduser <username> <password>

after this you need reload app

or

$ sh add.sh <username> <password>

after this you don't need reload app

Delete User

open users.json file and remove user after remove run this command

$ sh run.sh

Show All User Traffic

$ go run main.go showtraffic

and you can open traffic.json and show users traffic :)

Missing features

  • Add Unit tests.
  • Add UDP support
  • Add a monitoring tool to check the health and status of the application.
  • Add a docker compose file
  • Add Api for report user traffic