Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kezhengjie/forward_cpp
A tcp forward tools implaments with select.
https://github.com/kezhengjie/forward_cpp
Last synced: 6 days ago
JSON representation
A tcp forward tools implaments with select.
- Host: GitHub
- URL: https://github.com/kezhengjie/forward_cpp
- Owner: kezhengjie
- License: mit
- Created: 2022-03-11T09:38:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-05T06:16:54.000Z (over 2 years ago)
- Last Synced: 2024-12-25T03:22:16.841Z (10 days ago)
- Language: C++
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forward_cpp
A TCP forward tools.##
This is a tcp port forward tool.
If you have boost lib,it is highly recommand using
forward-boost.cpp,which implemented with boost::asio
and faster than select.
forward.cpp implemented with select,works in most of
circumstance.## compile
This code could be compiled both in Unix/Windows os.### In unix:
`g++ -o forward forward.cpp`### In Windows:
`cl /EHsc /Ox forward.cpp`## usage
forward localport remoteaddr remoteport
`./forward 65444 192.168.1.2 22`
In this case,the program will forward all data to 192.168.1.2:22