Created
August 5, 2016 12:57
-
-
Save askldjd/3746f00d42966e3509eb31ad327d167e to your computer and use it in GitHub Desktop.
Quick POC for proxying S3
This file contains 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
'use strict'; | |
const socks = require('socksv5'); | |
const srv = socks.createServer(function(info, accept, deny) { | |
accept(); | |
}); | |
srv.listen(50099, 'localhost', function() { | |
console.log('SOCKS server listening on port 50099'); | |
}); | |
srv.useAuth(socks.auth.None()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment