TCP Tunnel/Proxy for every transport purpose
- Import this project under Eclipse
- Run at least one time
- Go to File > Export > Java > Runnable JAR File
- Follow instructions and be sure to select MainClass as the main class (duh)
- Select JAR location and click Finish
Command Line:
java -jar [jarFile] -args -a ...
Argument summary:
[-dhost] Specifies the destination host where all the data should be forwarded
[-dport] Specifies the destination port on the destination host where Java should bind
[-mport] Specifies the local port where clients will start connecting
[-bufsize] Specifies an buffer size that will be used during traffic exchange