Simple Tunnel written on C code - it can be used to small tunnel applications.
Go to file
FPGALover ef29acf193 Update LICENSE 2023-07-18 03:34:26 +00:00
Example_tunnel.png Adding Binary and Documentation 2023-07-17 19:11:19 -07:00
LICENSE Update LICENSE 2023-07-18 03:34:26 +00:00
README.md Update README.md 2023-07-18 02:36:17 +00:00
compilar_linuex.PNG Adding Working Tunnel in C code 2023-07-17 18:39:09 -07:00
modo_de_uso.PNG Adding Working Tunnel in C code 2023-07-17 18:39:09 -07:00
tunnel Adding Binary and Documentation 2023-07-17 19:11:19 -07:00
tunnel.c Adding Working Tunnel in C code 2023-07-17 18:39:09 -07:00

README.md

Tunnel_C

Simple Tunnel Working on C

it can be used to small tunnel applications.

Compilation using GCC

This software is known to have run for me under Linux/Intel, Solaris/Intel, Solaris/Sparc, SunOS/Sparc.

 Linux:   gcc -O2 -Wall                          tunnel.c -o tunnel
 Solaris: gcc -O2 -Wall -lsocket -lnsl -DSOLARIS tunnel.c -o tunnel
 SunOS:   gcc -O2 -Wall                -DSUNOS   tunnel.c -o tunnel

Implementation

help menu

 tunnel -h 

example of HTTPS website

 ./tunnel -Lr <ip_forClient_2_connect_as_public>:<public_port> <private_ip_or_local_ip_to_expose>:<private_port>
 ./tunnel -Lr 31.220.09.177:8878 23.87.270.189:5001

then open on your navigator "https://31.220.09.177:8878" and you will be taken to the https website that you are tunneling.

Diagram of Connection