How to use FastTunnel in Docker

The first thing to say is .what is FastTunnel.The FastTunnel is a high-performance cross-platform intranet penetration tool.and the github url is FastTunnel;
before use FastTunnel .you should know about below technology.

1:what is docker?
2:what is docker-compose?
3:Some entry-level linux commands.
4:the vps,and the local machine can visit internet.

The Server Step:
Copy the Follow yml in docker-compose.yml.

docker-compose.yml
version: "2"
services:
  FastTunnel:
    image: springhgui/fasttunnel:latest
    ports: 
      - "80:1270"
    restart: always
    volumes: 
      - ./config:/app/config
      - ./Logs:/app/Logs 
    network_mode: host

The Config Settings

use docker-compose command :
docker-compose up -d

at this time.the FastTunnel Server has ready.

the WebDomain is a domain or a ipaddress .and they are same means
the token is private .and the client use the correct key can connect the server.
by the way. if you want to use domain,you should resolve the domain name.
The Client Point:

the ServerAddr is the server address.
ServerPort is the server application port that you bind.
the token is the server token.must be same with the server config

the Webs section is the subdomain setting.like aa.quliting.com to 127.0.0.1:8082
the Forwards section is port forward.like from quliting.com:777 to 127.0.0.1:8081
if you use win.run exe or .bat....and that is too easy ...
if you have any problem. you can connect me.
email is :543539501@qq.com
ok.see you ...

posted @ 2021-11-21 18:12  我性别男爱好女  阅读(199)  评论(0编辑  收藏  举报