Help me with Cloudflared zero trust tunnel vpn

Hi everyone,

Since I already had a tunnel for my self-hosted apps, I thought it would be easier to create a VPN with Cloudflared rather than using WireGuard and DDNS.

I have run the following commands:

  1. Login to get the cert.pem:

    cloudflared tunnel login

    Open the URL to login.

  2. Move the cert.pem file to /etc/cloudflared:

    mv /root/.cloudflared/cert.pem /etc/cloudflared/cert.pem

  3. Get the credentials of an existing tunnel:

    cloudflared tunnel token --cred-file /etc/cloudflared/<Tunnel-ID>.json <Tunnel-ID>

  4. Edit the config.yml file like this:

tunnel:

credentials-file: /etc/cloudflared/.json

Now I can see in the Luci UI that my Cloudflare Zero Trust Tunnel is running. Under the “Tunnel” tab, I can see my tunnel and a list of connections.

I then installed the “Cloudflare One” app and logged in using my-team-domain.cloudflareaccess.com page. However, when I turn on the VPN, I still have no access to my local network.

Can anyone help me with that?

best regards, Shahram

Solution:
In my Cloudflare zero trust tunnel web ui I had to exclude 192.168.0.0/16 in Manage Split Tunnels.

this video shows the steps:
https://youtu.be/Iy4ylJJ8iNU?t=1296