Skip to content

MstKenway/Forwarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Forwarding

Scripts to forward traffic data

Usage:

wget http://103.136.187.104/install_go.sh
bash install_go.sh

Or

git clone https://github.com/MstKenway/TunnelForward.git
cd TunnelForward
chmod +x install_go.sh
bash install_go.sh
cd ..
rm -rf TunnelForward

Usage of TunnelForward:
  -a	Append the following config.json to the config.json file.
  -c	Server mode of the tunnel.(-tun need)
  -d int
    	Delete the local port in the config.json file. (default -1)
  -f string
    	Path for config.json file. (default "/etc/TunnelForward/config.json")
  -k string
    	Key of the tunnel.(-tun need)
  -l	List all configs in the config.json file.
  -r string
    	Single Relay config.json "LocalPort:RemoteAddr:RemotePort"
  -s	Client mode of the tunnel.(-tun need)
  -ttimeout int
    	TCP Timeout(s)
  -tun string
    	Single Tunnel config.json "LocalPort:RemoteAddr:RemotePort"
  -utimeout int
    	UDP Timeout(s) (default 60)
  -v	Print current version.

About

Scripts to forward traffic data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages