📄 examples.txt
字号:
IMPORTANT NOTE: If you use a unix system "java -cp .;./libs/apache-commons.jar" should be replaced by "java -cp .:./libs/apache-commons.jar" Notice the colon and semicolo diferences.Redirection examples:---------------------* Redirect local 8080 port to www.google.com port 80java -cp .;./libs/apache-commons.jar javatunnel.JavaTunnelClient -mode Redirect -l 8080 -d www.google.com -dport 80* Redirect local 1234 port to 192.168.1.24 port 23java -cp .;./libs/apache-commons.jar javatunnel.JavaTunnelClient -mode Redirect -l 1234 -d 192.168.1.24 -dport 23SSL Proxy examples------------------* Use 192.168.0.2:3128 SSL enabled proxy to bounce against www.google.com port 80 from localport 8080That means that all tcp/ip data incoming to localport 8080 will be sent emulating a SSL connecition using 192.168.0.2:3128 proxy to the following destiantion www.google.com:80java -cp .:./libs/apache-commons.jar javatunnel.JavaTunnelClient -mode SSLProxy -l 8080 -d www.google.com -dport 80 -p 192.168.0.2 -pport 3128* And another example: using proxy myproxy.mycompany.com:8080 to bounce against aforbiddensite.net:80 from localport 666java -cp .:./libs/apache-commons.jar javatunnel.JavaTunnelClient -mode SSLProxy -l 666 -d aforbiddensite.ne -dport 80 -p myproxy.mycompany.com -pport 8080HTTP Tunneling examples:------------------------*Using myproxy.mycompany.com:8080 proxy and myserver.javatunnel.com:80 as a tunnel server connect to forbiddenplace.com:666 using localport 1234java -cp .:./libs/apache-commons.jar javatunnel.JavaTunnelClient -mode HTTPTunnel -l 1234 -d forbiddenplace.com -dport 666 -p myproxy.mycompany.com -pport 8080 -s myserver.javatunnel.com -sPort 80*And a more usefull example, how to connect to a irc server if you live behind a http proxy:java -cp .:./libs/apache-commons.jar javatunnel.JavaTunnelClient -mode HTTPTunnel -l 6667 -d theircservername.com -dport 6667 -p myproxy.mycompany.com -pport 8080 -s myserver.javatunnel.com -sPort 80If may be usefull for some servers to add to your computer hots file the server name pointing to your loopback address, and use the server name in the irc client.Have Fun.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -