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:
-
Login to get the cert.pem:
cloudflared tunnel login
Open the URL to login.
-
Move the cert.pem file to /etc/cloudflared:
mv /root/.cloudflared/cert.pem /etc/cloudflared/cert.pem
-
Get the credentials of an existing tunnel:
cloudflared tunnel token --cred-file /etc/cloudflared/<Tunnel-ID>.json <Tunnel-ID>
-
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