Coder Social home page Coder Social logo

ytran's Introduction

SSL的反连socket5代理

使用场景:

目标机器在内网,能反连出来

需要一台公网机器

Usage:

    -listen  [port1] [port2]

    -connect [ip]    [port]

    -help

在公网机器使用-listen命令监听 port1=socket5端口 port2=ssl服务端口

在内网机器使用-connect命令连接ssl服务端口

$ ./ytran -listen 1080 9001
$ ./ytran -connect 8.8.8.8 9001

浏览器 8.8.8.8:1080 socket5

使用golang编写,无第三方包

客户端与服务端连接使用SSL单连接通信

golang编译环境:http://pan.baidu.com/s/1hq1mrDM

go build ytran.go

可在linux、osx、windows等环境使用

编译出可执行文件可直接在目标机器上使用

下一个版本功能

1、增加数据压缩

2、优化网络环境差的情景

3、增加端口转发功能

GitHub https://github.com/cn-ygf/ytran

ytran's People

Contributors

cn-ygf avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.