All Projects → i183 → tunnel

i183 / tunnel

Licence: Apache-2.0 license
一款单线程、轻量级和高性能的内网穿透程序,支持TCP流量转发(支持所有TCP上层协议,包括HTTP,SSH等),支持多客户端同时连接

Programming Languages

c
50402 projects - #5 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to tunnel

toyhttpd
I/O 模型练手代码,分别使用阻塞式 I/O、select、poll 和 epoll 和 Java NIO 实现了简单的 HTTP Server
Stars: ✭ 43 (+10.26%)
Mutual labels:  select, epoll
epump
ePump是一个基于I/O事件通知、非阻塞通信、多路复用、多线程等机制开发的事件驱动模型的 C 语言应用开发框架,利用该框架可以很容易地开发出高性能、大并发连接的服务器程序。
Stars: ✭ 26 (-33.33%)
Mutual labels:  select, epoll
Libfiber
The high performance coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iocp/windows GUI
Stars: ✭ 519 (+1230.77%)
Mutual labels:  select, epoll
Tiginx
Tiginx is a Shanzhai Nginx project , please buyao use it xian , if meet problem , I no fuze ...
Stars: ✭ 29 (-25.64%)
Mutual labels:  select, epoll
xm2cloud term
powerful webssh that developed with django, channels, xterm,ioloop
Stars: ✭ 17 (-56.41%)
Mutual labels:  select, epoll
ev
Lightweight event-loop library based on multiplexing IO
Stars: ✭ 15 (-61.54%)
Mutual labels:  select, epoll
Zeus
A high performance, cross-platform Internet Communication Engine. Developed with native socket API. Aim at handling millions of concurrent connections.
Stars: ✭ 30 (-23.08%)
Mutual labels:  select, epoll
ionic-selectable-demo
Ionic SelectSearchable Demo.
Stars: ✭ 22 (-43.59%)
Mutual labels:  select
hev-task-system
A simple, lightweight multi-task system (coroutines) for Unix (Linux/BSD/macOS)
Stars: ✭ 41 (+5.13%)
Mutual labels:  epoll
bootstrap5-tags
Replace select[multiple] with nices badges for Bootstrap 5
Stars: ✭ 58 (+48.72%)
Mutual labels:  select
wl-vue-select
用于vue框架的树形下拉框及带全选的普通下拉框。 Tree drop-down box for vue framework and ordinary drop-down box with select all
Stars: ✭ 24 (-38.46%)
Mutual labels:  select
form-data-json
A zero dependency, cross browser library to easily get or set/manipulate form input values as/from a json object.
Stars: ✭ 37 (-5.13%)
Mutual labels:  select
lce
linux网络编程框架(C++)基于Reactor事件机制,支持线程池,异步非阻塞,高并发,高性能
Stars: ✭ 61 (+56.41%)
Mutual labels:  epoll
react-native-select-multiple
☑️ A customiseable FlatList that allows you to select multiple rows
Stars: ✭ 155 (+297.44%)
Mutual labels:  select
libapenetwork
Fast cross-platform async network library
Stars: ✭ 17 (-56.41%)
Mutual labels:  epoll
react-native-select-pro
React Native dropdown (select) component developed by Mobile Reality
Stars: ✭ 79 (+102.56%)
Mutual labels:  select
ng-mat-select-infinite-scroll
Infinite Scroll directive for angular material select component
Stars: ✭ 39 (+0%)
Mutual labels:  select
epoller
epoll implementation for connections in Linux, MacOS and Windows
Stars: ✭ 58 (+48.72%)
Mutual labels:  epoll
linq
A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.
Stars: ✭ 39 (+0%)
Mutual labels:  select
react-functional-select
Micro-sized & micro-optimized select component for React.js
Stars: ✭ 165 (+323.08%)
Mutual labels:  select

Tunnel

Tunnel是一款单线程、轻量级和高性能的内网穿透程序,支持TCP流量转发(支持任何TCP上层协议,包括HTTP,SSH等),支持多客户端同时连接。

解决公网无法访问内部网络服务问题,使内部网络服务能被公网访问。

说明

  • 该项目使用CMake构建,Linux系统编译后会产生两个可执行文件,tunneld(服务器端)和tunnel(客户端),其他系统编译后只会产生tunnel(客户端)。
  • tunneld考虑性能原因,使用epoll I/O模型,仅支持Linux系统,且Linux内核版本要大于等于2.5.44。
  • tunnel使用select I/O模型,支持主流系统(Mac OS、Windows、Linux)。
  • 公网映射端口为动态分配,暂时不支持指定端口。

tunneld(服务器端)使用说明

执行 tunneld 文件

$ tunneld
$ Enter listening port(default 8877):8877
$ Enter connection password(default maqian.cc):maqian.cc
$ Port:8877, Password:maqian.cc
$ Listening...

这时 tunneld 已启动成功,等待客户端连接。

tunnel(客户端)使用说明

执行 tunnel 文件

$ tunnel
$ Enter server IP:xx.xx.xxx.xxx
$ Enter server port(default 8877):8877
$ Enter connection password(default maqian.cc):maqian.cc
$ Enter local port:22
$ Server IP:xx.xx.xxx.xxx, Server Port:8877, Password:maqian.cc, Local Port:22
$ Successfully connected, address: xx.xx.xxx.xxx:45915

这样 tunnel 就连接服务器成功了,address是映射到公网的IP和端口,通过访问address的IP和端口就可以访问内部网络服务了。

下载

https://github.com/i183/tunnel/releases

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].