DynamicDns + CloudFlare + Openvpn +msrdp
-
Hi All,
I have recently found out about cloudflare as I wanted to use it for my website that I host on my own server at home.
I have a dynamic ip address therefore i use the pfsense dynamicdns service along with freedns.afraid.org.Cloudflare requires to change the nameservers to theirs in order to function. so i removed freedns.afraid.org and used cloudflares nameservers in replacement on my domain host and recreated all my records.
everything worked fine however my dynamicdns would need to changed as cloudflare would be serving the dynamicdns. so i done this but i found that the cloudflare option in pfsense is broken and not working. so I used dns-o-matic instead and adding the cloudflare settings in dns-o-maticeverything in respect to cloudflare is working and so is dynamicdns. with the working around I mentioned above
however my real problem is i can no longer resolve my Real IP address for my openvpn or msrdp.
It seems that cloudflare masks my ip with theirs instead. even when I dig/ping my host/domain name it comes up with clouflare ip instead of mine.
therefore it seems to have broken the function of my openvpn and msrdp. the only way i can access these services is it i input my real ip whereas before i just put in my domain name which resolved to my ipcan anyone with experience with above shed some light.
many thanks
-
I have managed to solve it.
On the cloudflare panel set the DNS A record to grey cloud, which bypasses cloudflare
and on the cname of subdomain for example www (you need to set that to orange which routes all traffic through cloudflare and masks ip)