Go to file
2024-08-07 16:48:01 +08:00
.vscode 增加地域白名单 2024-08-07 16:48:01 +08:00
ip2region 增加地域白名单 2024-08-07 16:48:01 +08:00
forward-tunnel 增加地域白名单 2024-08-07 16:48:01 +08:00
forward-tunnel.c 增加地域白名单 2024-08-07 16:48:01 +08:00
forward-tunnel.h 增加地域白名单 2024-08-07 16:48:01 +08:00
forward-tunnel.o 增加地域白名单 2024-08-07 16:48:01 +08:00
Makefile 增加地域白名单 2024-08-07 16:48:01 +08:00
README.md 统一源码风格, 去除敏感信息 2024-02-22 10:36:59 +08:00
reverse-tunnel 增加地域白名单 2024-08-07 16:48:01 +08:00
reverse-tunnel.c 增加地域白名单 2024-08-07 16:48:01 +08:00
reverse-tunnel.h 增加地域白名单 2024-08-07 16:48:01 +08:00
reverse-tunnel.o 增加地域白名单 2024-08-07 16:48:01 +08:00
thpool.c 添加线程池 2024-05-14 15:11:08 +08:00
thpool.h 添加线程池 2024-05-14 15:11:08 +08:00
thpool.o 增加地域白名单 2024-08-07 16:48:01 +08:00

libssh2_tunnel

Linux libssh2 正向隧道

build

git clone https://git.aixiao.me/aixiao/libssh2-tunnel.git
cd libssh2-tunnel
make clean; make

test

aixiao@NIUYULING:/mnt/c/Users/niuyuling/Desktop/libssh2-tunnel$ ./forward-tunnel -h
   STunnel SSH forward tunnel
Author: AIXIAO@AIXIAO.ME
Version: 1.0
Usage: [-d] [-rsplueh?]

Options:
    -d                     : Background running
    -r                     : SSH Server IP
    -p                     : SSH Server Port (default: 22)
    -u                     : SSH Server User
    -e                     : SSH Server User Passwd
    -s                     : Remote Dest Port (default: 3306 1521)
    -l                     : Local_Listen Port
    -? -h                  : help information


Jan  3 2024 09:18:55 Compile、link.

aixiao@NIUYULING:/mnt/c/Users/niuyuling/Desktop/libssh2-tunnel$