On 6/11/2013 11:59 PM, Stephen Davies wrote: > I have successfully connected to OpenVPN 2.3.1 server running on a Linux box > using client apps on Samsung Android, iPhone and IPad but am getting strange > results when then trying to access an IMAP email base. > > The server is behind an ADSL router which has a static IP address (165.x.x.x) > and forwards all traffic to the Linux server at 192.168.0.100. The relevant > firewall, hosts and relay domain entries have been made on the Linux server. > > On the Android client, I have defined the incoming and outgoing servers as > 192.168.0.100 and email access is working perfectly. > > However, if I change the mail server addresses to the fqdn or IP of the > server-side ADSL box, email access fails with "cannot connect to server". > Before you bring other programs & protocols into the mix, start with basic IP. ping is your friend.
Basic VPN config - the VPN client knows how to talk to the VPN server. But reaching additional IP's past the VPN server takes additional configuration. This takes a combination of OpenVPN config, NAT, and routes. Check the routing table of your VPN client - does it only know 192.168.0.100/32? Or does it know the whole subnet of 192.168.0.100/24? Are you able to ping another host in the server's network, e.g. 192.168.0.1? If your mail server is on a totally different network, then you have more issues - you haven't fully described your setup yet. -- Daniel ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
