[PVE-User] Can I change default port from 8006 to 443?

Dietmar Maurer dietmar at proxmox.com
Wed Oct 5 15:35:14 CEST 2011


Thanks, nice solution. But I am still looking for a 'apache only' solution (without iptables)?

> -----Original Message-----
> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> bounces at pve.proxmox.com] On Behalf Of Giuliano Natali
> Sent: Mittwoch, 05. Oktober 2011 15:32
> To: pve-user at pve.proxmox.com
> Subject: Re: [PVE-User] Can I change default port from 8006 to 443?
> 
> Dietmar Maurer wrote:
> > Thanks, I know the apache configuration directives.
> >
> > The question is howto enable an additional port 443, without changing
> > any existing apache configuration files (on debian).
> 
> in /etc/rc.local
> 
> 
> iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8006
> 
> in this manner you have the two ports open and you can use 443 or 8006
> withouth changing apache directives
> 
> 
> Diaolin
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user





More information about the pve-user mailing list