Skip to content

Instantly share code, notes, and snippets.

@KOBA789
KOBA789 / local.js
Created September 25, 2012 08:01
baka-proxy
var net = require('net');
net.createServer(function (client) {
var remote = net.connect({
host: 'koba789.com',
port: 8281
});
remote.pipe(client);
var source = client,