The source address

Source address: https://github.com/fengyouchao/pysocks

Start the

$ git clone https://github.com/fengyouchao/pysocks.git ~/pysocks
$ python ~/pysocks/socks5.py start --auth=admin:123456
Copy the code

See the help

$ python ~/pysocks/socks5.py -h
Copy the code

Help information is as follows:

 Usage: start|stop|restart|status [options]
 Options:
   --port=<val>         Sets server port, default 1080
   --log=true|false     Logging on, default true
   --allowed=IP         set allowed IP list
   --auth:<user:pwd>    Use username/password authentication
                        Example:
                          Create user "admin" with password "1234":
                            --auth=admin:1234 
                          Create two users:
                            --auth=admin:1234,root:1234
   -h                   Show Help
Copy the code