R: Re: Kolab behind a NAT
alby87 at inwind.it
alby87 at inwind.it
Fri Jan 16 15:58:44 CET 2015
It worked really well: I had to install more "reverse proxies" (one for iRony,
one for kolab-webadmin, one for roundcubemail, etc..), but using this
"proxies", and the X-Forwarded-For Header all but one problems went away!
Many thanks!
The only problem is just iCal: the URL generated start with a ./?
_task=calendar&_action=feed&_cal= and the code of the calendar. Putting this
code as is isn't working (just as expected, there isn't any reference to my
base URL). It doesn't show even on my LAN connection, I'm doing some more thing
wrong? Thank you for your patience :)
>----Messaggio originale----
>Da: ar at xlrs.de
>Data: 16/01/2015 14.51
>A: "Kolab Users Mailinglist"<users at lists.kolab.org>
>Ogg: Re: Kolab behind a NAT
>
>Hi,
>
>I have a similar setup. You have to pass the X-Forwarded-For Header to your
>kolab server
>
>You need to add
>
> proxy_set_header Host $http_host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
>regards, Axel
>
>
>Am Freitag, 16. Januar 2015, 11:24:44 schrieb alby87 at inwind.it:
>> Hi! Thanks to all your suggestion, my Kolab installation is working fine!
>> Well, almost :) I've a little problem: Kolab is installed inside a
>> dedicated (virtual) machine with his own private IP, and is behind a
>> router. Just natting the correct port to the server, all the service are
>> working goods, the problem is all about the http services, as they should
>> share the company website with another machine. I configured a reverse
>> proxy in Nginx, (and I will put the configuration below) to have the
>> "normal website" managed by it, and all the things related to Kolab
>> redirected to the right machine.
>>
>> The problem is: some http service don't work as they should: the "show
>> calendar URL" use internal IP (192.168.xx.xxx), and if substitute with
>> myadress.com/webmail/iRony/... it works, but I can't (for example) update
>> the calendar. Also the preview on webmail didn't work, and also the files
>> section on Roundcube. What's the correct strategy? I have tought of one,
>> but I need a confirmation: 1)Create on the main webserver as many reverse
>> proxies as "directory" used by Kolab (one for roundcube, one for
>> kolab-admin, etc...) 2)Change the /etc/network/hosts file to connect to our
>> public IP
>> But this would create a 123.123.123.123/iRony/etc... URL, where I would
>> prefer the myadress.com/iRony
>>
>> Hope I don't have confused you with my request :)
>>
>> My Nginx configuration about the reverse proxy
>>
>> location /webmail { proxy_pass http://192.168.24.53/;
>client_max_body_size
>> 40M; }
>>
>> Many thanks :)
>
>_______________________________________________
>users mailing list
>users at lists.kolab.org
>https://lists.kolab.org/mailman/listinfo/users
>
More information about the users
mailing list