Spaces:
Runtime error
Runtime error
Create gf
Browse files
gf
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
|
| 2 |
+
sudo dpkg -i cloudflared.deb
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
cloudflared tunnel login
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
cloudflared tunnel create firetech-tunnel
|
| 10 |
+
# This connects his local Node.js port (3000) to a Cloudflare URL
|
| 11 |
+
cloudflared tunnel serve --url http://localhost:3000
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
4. The Result
|
| 15 |
+
Cloudflare will give him a random URL like https://funny-unicorn-123.trycloudflare.com.
|
| 16 |
+
|
| 17 |
+
HTTPS is automatic: Cloudflare handles the certificate.
|
| 18 |
+
|
| 19 |
+
Bypasses College Security: Because the connection starts inside the college and goes out, the firewall usually allows it.
|