KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
tcptunnel
★ 11
Open GitHub ↗
Simple udp -> tcp -> udp tunnel
Download README (.md)
Explore Similar Repositories
React-MUI-Calculator
:
A calculator made in React.js with Material-UI and Mathjs
Deepnudes
:
All that you dreamed it was and more..
Verilog
:
This repo will take you through different verilog projects
SeleniumBots
:
Bots written with Selenium
WHMCS-Dark
:
A Dark theme for the WHMCS admin page.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
tcptunnel
?
Download (.md)
# UDP -> TCP -> UDP tunnel ## Usage ``` sh # Start the tunnel on the tcp -> udp side $ tcptunnel -u <ip:port> -t <ip:port> # Start the tunnel on the udp -> tcp side $ tcptunnel -u <ip:port> -t <ip:port> -s ``` ``` sh # Setup two netcat in different consoles # Input $ nc6 -u localhost 5555 # Output $ nc6 -ul localhost -p 6666 # Copy from input to output (NOTE: it prioritizes ipv6 over ipv4) $ udpcopy -i udp://localhost:5555 -o udp://localhost:6666 ``` ``` sh # duplicate the input to two different sockets (any number) $ rtpbound -i udp://localhost:12340?buffer=100000 -o udp://localhost:12347?buffer=100000 -o udp://localhost:12349?buffer=100000 # read from two identical inputs and forward to an output, one input may fail and the stream stays fine $ rtpbound -i udp://localhost:12349?buffer=100000 -i udp://localhost:12347?buffer=100000 -o udp://localhost:12348?buffer=100000 ``` ## Status - [x] UDP -> TCP - [x] TCP -> UDP - [x] copy UDP -> UDP - [x] copy RTP -> RTP and support multipath - [x] cli ## Notes Thanks to Edoardo Morandi for his help in debugging some async problems.