Skip to content

Instantly share code, notes, and snippets.

@yueyuzhao
yueyuzhao / across.client.js
Created Aug 28, 2018
代理翻墙 (nodejs实现)
View across.client.js
// 客户端实现
const net = require('net')
const tls = require('tls')
const localServer = new net.Server()
localServer.on('connection', (socket) => {
socket.pause()
const context = {