var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How to forward ports 2082 > 2083
My first post here at cpanel, and this is cos i'm now a proud owner cpanel vps
Anyways, my question is how do i forward the unsecure 2082/2086 ports to the secure 2083/2087 ports.
I have already done the server tweaking so that /cpanel and /whm etc gets forwarded to the secure ports.
BTW i have noted that when i use http://domain.tld:2083 cpanel would automatically redirect to https, so just a port redirect/forward would be enough.
Can anyone help?
For mods, sorry for the multiple postings think the previous one is not appropriate.
You can try using Port Forwarding using Iptables or try using someting like bastille-linux
/sbin/iptables -t nat -A PREROUTING -p tcp -i eth0 -d xxx.xxx.xxx.xxx --dport 8080 -j DNAT --to xxx.xxx.xxx.xxx:80
/sbin/iptables -A FORWARD -p tcp -i eth0 -d xxx.xxx.xxx.xxx --dport 80 -j ACCEPT
i'm a bit new to linux. So can you explain the above with the following details:
My public ip is 127.0.0.1
and my inteface is vnet0
In your WHM under "Tweak Settings", simply enable the check-box that say's "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc."
That's correctly and simple solution. WHM/Cpanel has many Options to help Root/Administrator manage Server .
Originally Posted by jphilipson
This can lead to browser warnings and should inform users to ignore it.
By gunemalli in forum Hosting Software and Control Panels
Last Post: 06-22-2009, 02:05 AM
By ppx in forum Reseller Hosting Offers
Last Post: 12-22-2007, 09:27 AM
By Max Renn in forum Hosting Security and Technology
Last Post: 10-09-2007, 06:06 PM
By KamilPRO in forum Hosting Security and Technology
Last Post: 06-12-2007, 07:16 AM
By UnrealSilence in forum Hosting Security and Technology
Last Post: 02-02-2006, 04:14 PM