Access Cpanel on Different Port

gorgo

Well-Known Member
Jan 9, 2002
148
0
316
What I would like to do, if for my customers who try to access cpanel behind a picky firewall, is run the cpanel server on port 80, on a specific ip address.

So For Example

There site is domain.com:2082

I want to give all users xxx.xxx.xxx.xxx which is running a copy of cpanel on port 80 so all users can get in.

Is this possible?
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
Boston MA
Try a feature request. I don't think there's any way of doing it. Put in a feature request and I'm sure Nick will be happy to give you something to work with.
 

GAMPort

Member
Aug 13, 2001
5
0
301
I have already requested this and I was told it should be possible to do if you have an IP address only for the control panel (a programmer from anoter control panel said this). Of course there might be a smarter way...
 

gorgo

Well-Known Member
Jan 9, 2002
148
0
316
Its a no go... I talked to nick, and its not possible using conventional means. Apache steals port 80... period... it doesn't matter which IP address or domain its coming in on, apache owns port 80 for that server.

however, if you can find away to convince apache not to watch the port 80 on the specific server, or use server side port redirection, it may work
 

gorgo

Well-Known Member
Jan 9, 2002
148
0
316
hmmm, I dunno, since https is controlled by apache as well, it may not work.

However, alot of systems have port 81 open for proxy servers, or 8080 for proxies, or 8000 for proxies.

If we could piggy back on one of those ports it may work
 

Odin

Member
May 31, 2002
9
0
301
any new on it ?

I have a few clients behind firewalls, they all complain about cpanel port.

Most of them are fine, then are doing "admin" work from home, but 3 clients dont have internet access from home, so the office is only one place for them to "admin" the account.

Any suggestions? Please!
 

shorehost

Registered
Apr 1, 2002
4
0
301
reply

why not setup a redirect, you could use http://cpaneldomain.com and setup a redirect to redirect index.html to a specific address you can do it through cpanel for the domain under redirects, or you can use .htaccess to do it. I.E. RedirectPermanent /index.html /http://cpaneldomain.com:2086

Just a thought, it would enable clients to access their accounts without putting in the port number, but still go to the same place.

Any questions e-mail me at [email protected]

Thanks
 

shorehost

Registered
Apr 1, 2002
4
0
301
reply

yes thats right, but the client would not have to enter the port number. To them it would seem as if everything they were doing was just from the domain name with no port number. If you set it up correctly the port number can be transparent to the user.
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
Transparent to the user, yes, but the firewall they are behind would still see it as port 2082. The initial call out is to a port 80 redirect but the return and subsequent calls would be on 2082.
 

shorehost

Registered
Apr 1, 2002
4
0
301
reply

Yes you are correct. Sorry I did not realize this was a question based on a users firewall blocked ports. I thought you just wanted to provide a link that the user did not have to enter a port number. Sorry.
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
It can be done through IPTables and port redirection. The trick is knowing what ports their firewall will let out that you are not already using.
 
Last edited:

Networkologist

Well-Known Member
Feb 5, 2003
225
4
168
Can I get a clarification on this?

As I interpret this thread, Cpanel can not accomodate a client that is behind a firewall?

This would be tragic for me because my largest client, multiple domains/sites, client referrals, etc. is behind a firewall.