Roundcube using internal IP address

Started by kcpoole, September 21, 2014, 03:59:27 AM

Previous topic - Next topic

kcpoole

Hi there
I have installed CWP fine and set a shared Public IP address, but roundcube is still trying to use the Internal Natted IP address of my server.
Any ideas on how to tell it to use the Piblic IP address?

My server is behind a Natting Firewall and on a private address range.

Thanks
Ken


Administrator

where exactly is the issue with roundcube ?

kcpoole

#2
when one logs into the Dashboard, the link to Rouncube is using the internal IP addres of the server and not the public IP address
thus From a Client I cannot open roundcube from the dashboard.
I can get to the login page if i type in the full URL manually though

Ken

kcpoole

Does anyopne have any idea how to the link to roundcube on the dashboard to use the public IP of the server and not the NAT one?

Administrator

have your tried to access server from outside your local network ?

cybercliff


rekast

This is the case with only the menu item link. It is using my internal IP as part of the link, rather than the server hostname or public IP. Is it possible to map the links using the internal IP to the hostname instead? is CentOS webpanel open source somewhere to update this code?

Thank you so much for creating this awesome software!!!

icttech

has anyone been able to provide some changes to the links within the WebPanel to resolve this? If your server is behind a firewall or router this will be an issue.

icttech

it appears all php's requiring modification for this are located here "/usr/local/cwpsrv/htdocs/resources/" and have this statement in the compiled php:

?php /* Reverse engineering of this file is strictly prohibited. File protected by copyright law and provided under license. */

Administrator

its fixed for the next release 0.9.8.4