Hello to all,
I just want to report that Passbolt and its Extension is running great over Cloudflare Tunnel.
How did I install Passbolt?
On a Selfhosted Linux Debian 11 System
Followed the instructions provided by Passbolt step by step
Where is your Server Hosted?
Hetzner CX Cloud Server
What is your Firewall configuration?
At Hetzner you have your own Virtual Firewall for your Public facing IP.
Information about that is at the Cloudflare Docs. → Ports and IPs · Cloudflare Zero Trust docs
Incoming:
104.19.0.0/16 TCP HTTPS
104.18.0.0/16 TCP HTTPS
172.64.0.0/16 TCP HTTPS
198.41.0.0/16 TCP 7844
Outgoing:
Any HTTPS Any / Reason is that I use Yubikey API and could not find the Range they operate in!
SMTP 587 TCP for Passbolt E-Mail to my Mail Provider (outlook(dot)com) App Pass with restrictions for only Microsoft Servers
198.41.0.0/16 TCP 7844
INFORMATION: The Cloudflare Tunnel uses the QUIC Protocol - So if you have a Firewall that blocks QUIC you need an exception for the Cloudflare Tunnel Agent Server.
Were did you install the Cloudflare Tunnel Agent?
On the same Linux Machine running Passbolt on the Linux Server.
How did you secure your Cloudflare Tunnel?
I use a One-Time Passwort with a Session Token for 24 Hours
Great Instructions at → You Need to Learn This! Cloudflare Tunnel Easy Tutorial - YouTube
To Lockdown your Services
On my End I have a dedicated IP / GeoRestriction and required E-Mail ← Overkill
Little UPDATE 17.04.2023 - Authentication
-----------------START
Switched to Google Authentication and GeoRestriction - Audit Everything
-----------------END
Why?
I want to make sure that only I can Access Passbolt and the registration page is only available if you can login over from Cloudflare. Like this the Passbolt Server does not need too much configuration and works great!
Hope my feedback could inspire you to use a more secure approach on servicing on your own network.
Best regards
Val.