Cloudflare Plans
CF mTLS (Zero Trust)
No Paid plan required.
- Generate Keys in zero trust console (SSL section) - Private Key && Certificate key
- Create mTLS rule in SSL > Client Certificates > Add host (my_secret_host.domain.com)
- Create mTLS rule in Firewall > Add rule (Block access if Certificate not present)
- Add certificates to the client (Browser, OS, mobile…)
CF Reverse Proxy
Cloudflare Reverse Proxy (1)ARGO (Cloudflare Daemon) - Config
(Cloudflared - Daemon → Argo Tunnel)
Video: How to configure cloudflare daemon
(Used to be called argo-tunnel) https://developers.cloudflare.com/cloudflare-one/tutorials/ssh
CF Zero Trust (VPN-like)
https://www.cloudflare.com/teams/access/
CF Logpull/logpush:
- Usuario → Perfil → Create Token: Configuración per API (APIs para diferentes servicios, configuraciones, usuarios, grupos, tipo, etc.)
- ! Las API pueden tener un período de duración > 1 día
curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \
-H "Authorization: Bearer _LDFjUeFozn-ou6LQPYIwY70W0YXM7vDd-f-1OcI" \
-H "Content-Type:application/json"
Log integrations
- ElasticFlare: ElasticFlare pulls CloudFlare firewall and audit logs, then ingests and enriches the data using the Elastic Stack. Github.
- CF's Logpush
API tokens: https://dash.cloudflare.com/profile/api-tokens
Logs (general) https://developers.cloudflare.com/logs/
Logpush w/AWS S3 https://developers.cloudflare.com/logs/get-started/enable-destinations/aws-s3
Logpull REST API https://developers.cloudflare.com/logs/logpull/requesting-logs
Elastic: https://developers.cloudflare.com/fundamentals/data-products/analytics-integrations/elastic
API Documentation
https://api.cloudflare.com/#filters-delete-individual-filter