Hi Tim, a better description of the problem than "it does not work" could help.
But, here is my idea. When configuring a SOGo server, you configure Apache to set some headers that indicate to SOGo the URL/port used for the connection. If it work internally, you probably set those headers: RequestHeader set "x-webobjects-server-port" "80" RequestHeader set "x-webobjects-server-name" "192.168.1.3" RequestHeader set "x-webobjects-server-url" "http://192.168.1.3" But these values are incorrects when accessing from the outside. Try to change these values with the "outside" URL / port: RequestHeader set "x-webobjects-server-port" "665" RequestHeader set "x-webobjects-server-name" "140.134.120.134" RequestHeader set "x-webobjects-server-url" "http://140.134.120.134:675" If it works, you found the problem. The fix is to create two vhosts in Apache. You can also use a generic configuration (but for the port forwarding, you must have inside port = outside port). See the diff attached for a generic Apache configuration (generated on a CentOS, can't guarantee it is applicable on a Debian). Greetings. Le Samedi 07 Avril 2012 13:54 CEST, Kniggedigge <kniggedi...@freenet.de> a écrit: > Hi Marc, hi Christian, > > sry for not describing my setup in detail: > > Lets say the subnet behind the router is something like: 192.168.1.0/24 > The "WAN" in which the router is placed is the 140.134.120.134 subnet. > When I try to connect to SOGo via lightning or webinterface in the subnet > (192.168...) everything works. > > But when I connect to the subnet via port forwarding through the router (port > 675 is forwarded to the internal address of > the SOGo server (say its 192.168.1.3) on port 80) it does not work. > > How should a setup look like to fully connect with the SOGo server from > outside (140.134.12....)? > > Thanks in advance and happy easter, > > Tim > > > Am 05.04.2012 um 11:49 schrieb Christian Mack: > > Hello Tim > > > Am Donnerstag, 05. April 2012 11h:10m CEST, Kniggedigge > <kniggedi...@freenet.de> schrieb: > > > > I just tried to use SOGo behind a router in a subnet. When I'm accessing > > SOGo in the subnet, there's no problem. > > But when I try to access SOGo from the WAN, the address is always rewritten. > > > > Is there anybody who figured out how to configure apache, so that it is > > possible to access SOGo from the "outside"? > > > > Obviously your Router uses NAT. > So it always rewrites the IP of the Sender to its own. > And in order to reach your server behind it, you have to use the IP of your > router instead of the IP of your SOGo server. > > That's how NAT works! > > You could use the same DNS name from inside and outside, if you use split DNS. > This means, if you search with the DNS name of your SOGo server, you have to > provide to the Internet the IP of your router and for your subnet you provide > the IP of your real SOGo server. > This only works with 2 DNS servers with different information, which must be > kept synchronized. > > > Kind regards, > Christian Mack > > -- > Christian Mack > Rechenzentrum Universität Konstanz > mailto:christian.m...@uni-konstanz.de > http://www.rz.uni-konstanz.de/ > > -- > users@sogo.nu > https://inverse.ca/sogo/lists > > -- > users@sogo.nu > https://inverse.ca/sogo/lists -- Romain LE DISEZ Support technique, Netensia Administratif & Commercial : +33 811 555 005 (prix d'un appel local) Support Hébergement : +33 2 97 69 05 68 Télécopie : +33 2 97 68 14 01 -- users@sogo.nu https://inverse.ca/sogo/lists