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

Giuliano Natali diaolin at diaolin.com
Wed Oct 5 15:32:25 CEST 2011


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





More information about the pve-user mailing list