Cloudflare Tunnel 实现内网穿透
Prepare work
- Cloudflare Account
- A Domain name which register under Cloudflare
Setup steps
Cloudflare Dashboard –> Zero Trust –> Networks –>Tunnels-> Create new Tunnels –> Connector(Cloudflared)

Tips
If you have multiple applications on one server, recommend use docker to create multiple connectors for each Application. Here are using Docker for example .

Copy the application token and save it to docker-compose.yml:
# service description |
[root@home ~/cloudflared-proxy/plex]# docker-compose up -d |

Connectors that is becomes healthy. That means we successfully connected. Then we go to the next step to set proxy.

[root@home ~/cloudflared-proxy/plex]# nslookup plex.azureapp.org |
Now we can access http://localhost:32400 the plex from lan network and access https://plex.azureapp.org from public network.
