Sample Socks5 Proxy Server Demo
Author:kevin P Gao
It's a very sample socks5 proxy server. Now it just supports username/password auth method and connect function. Maybe it can helps you understand how socks5 works.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.