Cloudflare Proxy

Hey so I want to hide the original VPS IP from cloudflare but if I do that coder portforwarding won'tm mworki properly. How can I run coder with cloudflare hiding my IP?
10 Replies
kyle
kyle2y ago
What do you mean port forwarding won't work properly? Like the coder port-forward command?
nyxalis.
nyxalis.2y ago
Lets say Cloudflare proxy is turned on for *.work.devtye.xyz If I was to port forwards for the web ui for example 400--development--vscode.work.devtye.xyz That URL would not work. Is there a way I can hide origin IP
kyle
kyle2y ago
Hmm, I'm a bit confused. By "hide the origin IP" do you mean the IP of the requester?
nyxalis.
nyxalis.2y ago
When Cloudflare proxy is turned on. If you a DNS check of the domain that is connected to the ip. The domain will only show the 2 cloudflare nameserver ip.(you already know this bit) The IP I want to hide is where I have installed coder. Since If my server gets ddosed my account swill get termed. I am unable to do this because If i wanted to port forward an instance of my coder for e.g. code server, it won't work.
kyle
kyle2y ago
Cloudflare supports proxying wildcard domains for free though, so I'm a bit confused: https://blog.cloudflare.com/wildcard-proxy-for-everyone/
The Cloudflare Blog
Wildcard proxy for everyone
Today we’re announcing the availability of proxied wildcard DNS records on all plan levels
nyxalis.
nyxalis.2y ago
ik that but what i mean if i port forward i will get cannot connect page. caddy gives issues can i use nginx to give auto ssl to a portforwarded domain anytime?
kyle
kyle2y ago
You should be able to, yup
nyxalis.
nyxalis.2y ago
I am using caddy for auto ssl, idky why ssl is not gettign added https://coder.devtye.xyz
nyxalis.
nyxalis.2y ago
No description
nyxalis.
nyxalis.2y ago
Why is thi9s
Want results from more Discord servers?
Add your server