- #!/bin/bash
- #This script is suppose to run on the private server under NAT
- # Ask user to input the local listening port
- read -p "Enter your local webserver port: " port1
- # Ask user to input the Zoraxy TCP stream proxy target port
- read -p "Enter the Zoraxy TCP stream proxy target port on your public server: " port2
- # Start the tcpcpy with the provided ports
- ./tcpcpy.exe -tran $port1 $port2
|