Created
June 28, 2016 23:32
-
-
Save dgershman/272b98f7ef7ad016148469bf25a0c34e to your computer and use it in GitHub Desktop.
socks proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var socks = require('socksv5'); | |
var srv = socks.createServer(function(info, accept, deny) { | |
accept(); | |
}); | |
srv.listen(1080, '0.0.0.0', function() { | |
console.log('SOCKS server listening on port 1080'); | |
}); | |
srv.useAuth(socks.auth.None()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment