What are the drawbacks of using a public IP and port forwarding instead of Cloudflare Tunnel for local services?

Question

Grade: Education Subject: Support
What are the drawbacks of using a public IP and port forwarding instead of Cloudflare Tunnel for local services?
Asked by:
112 Viewed 112 Answers

Answer (112)

Best Answer
(499)
Using a public IP and port forwarding can expose your local service directly to the internet, increasing the attack surface and potentially making your service vulnerable to unwanted traffic or attacks. Cloudflare Tunnel, on the other hand, provides an extra layer of security by establishing an outbound connection, which makes it harder for attackers to target your internal network. Additionally, you can face issues with dynamic IPs changing, and you will need to manually configure your router.