Proxmox with Cloudflare

melona380

Member
Aug 11, 2015
4
0
21
Hi, I am running proxmox on my LAN and DD-WRT for my router... I want to use cloudflare with proxmox, but cloud flare only allows these ports(https): 2087, 2096, 8443. Any other port is blocked. But proxmox VNC ports are 5900-5999... how can I set an iptables rule to forward any outbound traffic from 192.168.1.250:5900-5999 to WANIP:2087, 2096, 8443? or Change the vnc ports... I dont need more than 3 VNC windows open at a time.

EDIT: Hi, After some troubleshooting with cloud flare and iptables... I have determined that the only way to use cloudflare is to change the VNC ports... How can this be achieved? I need this for 4.x: http://pve.proxmox.com/wiki/Change_VNC_Ports_on_Proxmox_VE

EDIT 2: In order for cloudflare to work with proxmox the VNC ports have to be changed in the code. If the developers don't want to show how to do this, Can we get a patch for cloudflare use?

Any Help would be appreciated!
 
Last edited:
Cloudflare is for DNS and CDN. Why would you want/need to use it with Proxmox?
Yes, cloudflare handles dns and cdn. However there are a lot of other features such as ddos protection and free ssl, that I would like to incorporate. But when you route your traffic through cloudflare only certain ports are allowed... Thus the web interface works, but the vnc conections are dropped because the are on a different port than those allowed. That is what I need to fix
 
Those features are useful for when you have a domain. To use them, install a server under proxmox, lxc or vz, then set it up as a webserver, point cloudflare to that server using their dns, then you can use all the features.

if you want DDOS and other things at proxmox box then you need to setup a firewall/iptables.

There is no benefit to you trying to use cloudflare on the hardware node and as you can see it can't be done easily. but once you create a container and then put a website on that container you can cloudflare to your hearts content.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!