Skip to content

Instantly share code, notes, and snippets.

@askldjd
Created August 5, 2016 12:57
Show Gist options
  • Save askldjd/3746f00d42966e3509eb31ad327d167e to your computer and use it in GitHub Desktop.
Save askldjd/3746f00d42966e3509eb31ad327d167e to your computer and use it in GitHub Desktop.
Quick POC for proxying S3
'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