This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

iPhone, L2TP and Microsoft Exchange

Okay, so i've configured my iPhone (the rest i'll do later) to connect to the L2TP VPN on the Astaro 220.

I can access various internal resources, like for example I can go to an internal web server.

What I however cannot do is get it working with the Exchange server which is the single most important thing. Working over the companies wireless network it works without a hitch.

Connecting to the webmail interface of exchange seems to work, but the mail set-up does not.

All I get when I tell it to refresh in mail is:

Cannot Get Mail
The connection to the server failed.

Any ideas?

Looking in the firewall log it's connecting from the VPN IP pool to 192.168.0.1 fine.


This thread was automatically locked due to age.
  • Did you enter the internal DNS, WINS and domain into the "Remote-Access" "Advanced" sectionto provided them to the L2TP Users?
  • I entered the dns server address yes. Are the others required?
  • WINS not really. Domain could be an advantage. It's like your on a different subnet and netbios isn't doing the work for you. I think you got a address resolution problem.
    Is there a way to check that on the iphone? Browse the Intranet Webserver or something like that.
  • WINS not really. Domain could be an advantage. It's like your on a different subnet and netbios isn't doing the work for you. I think you got a address resolution problem.
    Is there a way to check that on the iphone? Browse the Intranet Webserver or something like that.


    Well, L2TP VPN over 3G/EDGE on the phone doesn't work at all now.

    So, kind of hard to do at the moment.

    When it was working I could browse the intranet web server fine, for example I could login to the exchange intranet webmail fine through safari.
  • Mark, since the VPN doesn't automatically re-establish if you lose signal, I suggest that you set the iPhone to connect to Outlook Mobile Access via the external interface of the Astaro.  The WiFi connection devours the iPhone battery, so that's not a good solution either.

    Here's a thread I did on this subject: https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/20215

    If you have any problems, they will be in the Exchange settings.  Let us know.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I've now got it working perfectly with the mail app.

    The problems can be surmised by the following:

    O2's data network for the last few days has been having problems. (I found this out a couple of hours ago)

    Essentially the reason i've been having all these problems is the fault of O2.

    I actually found this out via a third party who use O2 as part of a company car tracking system. (they use O2 to send the data from the cars on their position etc)

    Also, disabling push and data roaming on the iphone helps out massively in reliability.
  • Mark,

    The only reliability issue I have affects both Outlook Web Access (OWA) and the iPhone push.  It wasn't until I discovered our occasional issue with OWA coincided with no push to my iPhone that I was able to get rid of the push problem for both of them with the morning restart of RRAS as described in the link above.

    Push to the iPhone works perfectly for me with the aforementioned caveat.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA