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 <[email protected]> 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:[email protected] http://www.rz.uni-konstanz.de/ -- [email protected] https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists
