Skip to content

Instantly share code, notes, and snippets.

View rogermarty's full-sized avatar

Roger Marty rogermarty

View GitHub Profile
@rameshkrishna
rameshkrishna / openvpncloudlared.txt
Last active November 16, 2025 11:17
OpenVPN with Cloudflared Tunnels - No Port Fowarding - No Static IP - NO DDNS
Task:
Access OpenVPN or any Service on Home Network from Public Networks (Hotel) without configuring router and without static IP
Step 1:
Install OpenVPN on any device connected to Home Network (Raspberry mychoice with pivpn)
- Change default OpenVPN protocol from UDP to TCP (Cloudflare doesn't support UDP)
- Make a note of TCP port number (default is 443)
- Grab the OpenVPN client config file
Step 2:
Install Cloudflared on Raspberry PI
- Create a tunnel