Active Sync DNS Cache - Networking

Hi @all,
does anybody know how to disable the DNS Caching of the PDA Active Sync Part. (or to shorten the DNS Caching down to 1-2h)
I use a DynDNS for my Exchange Server and therefore the service has every day its new IP address. On my Herold I have to kill every morning the Active Sync Prozess and restart it to get Active Sync to make a new DNS Address resolution.
The same issue if I want to sync at home via Cradle or WLAN with my Exchange Server, because on the internal LAN the Exchange Server has a different IP than from the Internet Side.
Its very annoying to restart the Actvice Sync Prozess on the Herold a couple of times per day. (Don´t want to talk about my girl friend, impossible to explain her what to do and why *g*)
Would be great if somebody knows how to solve that issue.
At the moment I have this ideas
1. Force Active Sync to resolve the IP adress for the Exchange server every 1-2h without a restart of the process on the pda
I don´t have a clue how to do that
2. automatically restart active sync on the pda every morning 5.a.m
I don´t know a tool to make this based on the time
3. Force my Girlfriend to restart Active Sync manually
Please believe me, its impossible
Many Thanks in advance for your answers.
Bene
PS: I love this forum, I found answers for all my questions here in the past.

bene2204 said:
Hi @all,
does anybody know how to disable the DNS Caching of the PDA Active Sync Part. (or to shorten the DNS Caching down to 1-2h)
I use a DynDNS for my Exchange Server and therefore the service has every day its new IP address. On my Herold I have to kill every morning the Active Sync Prozess and restart it to get Active Sync to make a new DNS Address resolution.
The same issue if I want to sync at home via Cradle or WLAN with my Exchange Server, because on the internal LAN the Exchange Server has a different IP than from the Internet Side.
Its very annoying to restart the Actvice Sync Prozess on the Herold a couple of times per day. (Don´t want to talk about my girl friend, impossible to explain her what to do and why *g*)
Would be great if somebody knows how to solve that issue.
At the moment I have this ideas
1. Force Active Sync to resolve the IP adress for the Exchange server every 1-2h without a restart of the process on the pda
I don´t have a clue how to do that
2. automatically restart active sync on the pda every morning 5.a.m
I don´t know a tool to make this based on the time
3. Force my Girlfriend to restart Active Sync manually
Please believe me, its impossible
Many Thanks in advance for your answers.
Bene
PS: I love this forum, I found answers for all my questions here in the past.
Click to expand...
Click to collapse
Hey Bene,
did you find a solution for this Problem?
I'm searching for a way to solve this thing too.
Greetings,
Emanuel

Related

Syncing with an Exchange Server

Hi all,
my device (iMate Jasjar 1.13.53 WWE on WM5) syncs without problems through my office-pc with the exchange server standing at the office. This is a wired connection, working through ASync 4.1 (USB).
If I disconnect the USB-Cable, hence force the device to sync through another connection, it will try my GPRS-settings. The GPRS-settings work normal for Internet and eMail. After some time of trying I get the error 0x80072EE2 "The server could not be reached. This can be caused by temperary network conditions"
The server is working normal though.
Does anybody have some advice for a newbie (absolute no network specialist). My exchange server administrator is new to this as well. So if I would be able to read into this somewhere, or get some insider tips it would be very helpful and highly appreciated.
with kind regards,
Ruud Westerhout
how do you have the server name entered in the activesync settings?
are you using ssl?
has it ever syncronized w/o having it connected to pc?
does the exchange server have a public IP address?
thanks for fast reply,
as we are a little apart (time-wise) I am at home already and not able to answer all :
my server is at : mail.al????.ru
I was told to sync like :
Server address : mail
This server requires en encrypted (SSL) connection : NO
User name : the one I am allowed with to enter our network
Password : my usual password to enter our network
Domain : al????.ru
Save Password : YES
If there is a conflict : Keep items on my device
Event logging : Brief
With these settings like this, I was able to sync with the exchange server while connected through USB. ASync was getting a special allowence and the Microsoft Firewall Client was disable for it.
It has never been syncing wireless in any way, only USB, in the office.
I presume we have a public IP address, but I should counter ask my administrator about this.
If You have any ideas after reading this data, please shoot ;-)
The answer on IP I will add (or edit) tomorrow.
regards,
Ruud
yeah. it depends. if it is synching through USB, for me it is hard to tell if you are synching directly to the exchange server or to the workstation. if you have a mail profile setup on your machine and you are synching with activesync. on your desktop with activesync does it specifically show that it is synching with your exchange server? actually better yet if you run activesync the screen will tell you the last syncronizations. you will have an "Exchange Server" section and the last time it synched and probably a "Windows PC" section.
If your Exchange Server section has a synchronized time then your settings are correct. (The time should also be the same as your Windows PC time)
If it has something like Never synchronized or something other than a successful synchronization time, then those settings may not be correct or something is not right on the exchange server or network.
So if you do have a successful timestamp for the "Exchange Server" field, then everything on your device is good. The problem may be that either the exchange server does not have a public ip or a dns issue. (you can try to resolve the latter by putting in the IP of the server instead of the dns name in the server field for AS)
If it still doesn't work then it could be a firewall issue in front of where the exchange server sits.
Hi ccisn,
I actually am syncing with 3 different things. My Home-PC, my Office-PC and also the Exchange Server at the office. I get all synced and a correct time stamp with all, this works.
f.e. My contacts are synced with both Home-PC and Exchange Server (not the Office-PC anymore as this is not possible)
So I understand that the settings in my PDA are then correct and I should be searching for the problem in Server, Firewall, IP / DNS Settings.
I will try this idea of putting the IP though (as soon as I will get it tomorrow)
thanks for now,
Ruud
Update :
I inserted the fixed-IP our Exchange Server has into the address field and with this input the server did not even want to sync whilst I have a USB-ASync connection.
Question for my understanding :
Is the following a technical possible setup ?
-At home I connect through USB giving me access to my Home-PC and the internet. The PDA will sync with the home-PC and the exchange server which he will find through the internet.
-At home I connect through WiFi giving me access to the internet. The PDA will sync with the exchange server which he will find through the internet.
-At the office I connect through USB giving me access to my Office-PC and the exchange server. The PDA will sync with the Office-PC and the exchange server which he will find through the office network.
-On the road I connect with a GPRS- (or eventually UMTS-) connection which will give me access to the internet. The PDA will sync only with the exchange server which he will find through the GPRS-connection.
regards,
Ruud
I am sure the problem is, that you cannot sync over the public Adress with the Exchange Server, because there is only Port 25 for SMTP from the internet to the server, and this port is not for Outlook Connection and these things
No company ever had a Exchange all-open on the internet! try to sync within your local network and the internal-name of the server!
Well syncing within the Network works. If I connect with USB to the office-pc I can sync to both office-pc as well as exchange server.
Do I understand correctly that I can forget (not realistic) to sync wirelessly (GPRS, UMTS) while on the road ?
I just hoped that this way I could receive contacts / calender items from my secreatary on the road.
Ruud
The Exchange Server is open on your local network, thats why you can sync. But from the internet, there ist only mail access (and maybe a few other ports that the admins opened) to the exchange.
Talk to your admins, and ask if it's possible to connect with a VPN to your office. Over these VPN Connection you can sync with your exchange.
Ruud Westerhout said:
Update :
-At home I connect through USB giving me access to my Home-PC and the internet. The PDA will sync with the home-PC and the exchange server which he will find through the internet.
-At home I connect through WiFi giving me access to the internet. The PDA will sync with the exchange server which he will find through the internet.
-At the office I connect through USB giving me access to my Office-PC and the exchange server. The PDA will sync with the Office-PC and the exchange server which he will find through the office network.
-On the road I connect with a GPRS- (or eventually UMTS-) connection which will give me access to the internet. The PDA will sync only with the exchange server which he will find through the GPRS-connection.
Ruud
Click to expand...
Click to collapse
Yes to all of the above.
The vpn solution should work too if your environment supports PPTP connections. Most don't and only allow IPSec or L2TP connections which is a whole other mess to get to work on handheld devices.
As to the ports. It a little different for synching with Exchange. It only requires HTTP (80) or HTTPS (443).
If you can use Outlook Web Access then you can sync over the air with your phone. (Assuming that all the Mobile Sync settings are correctly set up on the Exchange server) Which in your case sounds like it is.

[WiFi] POP3 e-mail doesn't work

I can connect my device to the in-house Wlan and I get assigned an IP address like it should. I am able to browse the net (IE) using the Wlan and I can even go to the HTTP webmail site but when I set up a POP3 e-mail account I get the error message that I cannot connect with the current settings. Suggestions?
The other strange thing is that I am able to login on a local server using Terminal Services, but I can only connect to the IP address, not the hostname.
Perhaps I should mention that I have an own domain so the mailbox I'm trying to connect is a completely seperate mailbox and should work 'native' with POP3 port 25 settings. This shouldn't be a problem as far as I can see, but it still doesn't work...
I did some more testing, the weird thing is that I can send e-mails using the WLAN connection, but cannot receive them. The connection towards the server seems to be good (I didn't use seperate settings for SMTP) so DNS seems to be correct as well.
Right, I'm not under the impression a terribly large population of users are dying just to solve my problem, but since I located the source of the problem I thought I'd post it here for other users to find.
The problem I was faced with had actually nothing to do with the WiFi at all, it was the POP3 server that was the problem. The connection was fine, sending the mails was fine it's just that the POP3 daemon of the Direct Admin hosting control panel (vmpop3d-e) is unable to work with Windows Mobile 5 due to some kind of problem I don't even begin to understand (nor would I want to).
If you have your own domain and your hoster is running the Direct Admin control panel you won't be able to use the e-mail POP3 function. Instead, use the IMAP4 function which does work.
DA Forum PDA topic
when you set up your mailbox (menu - tools - options) go to the 3rd screen and click options. There you tell it what connection you want. I'd be willing to bet thats where your problem is.
E-mail client doesnt work on my wizard eather. I can receive mail, but sending it is impossibl. I think I tried everything.
If anyone have any suggestions what can I do please tell me.
THX
@primossz, you're pretty active on this forum :wink:
You need to first install the client software provided by your're ISP. So if you use T-mobile you can let T-mobile send the parameters via SMS to yor're cellphone. Just login to your're ISP provider for that on the WWW.
Greetz ET

PushMail with Exchange

Hi!
I just got PushMail activated on our company Exchange server and sychronising now works great, contacts, email etc. I do however got this annoying problem that mail shows up like 10 minutes after they have been sent and recieved at the server (I checked in Outlook and the mail had arrived) starting synchronizing manually or just hitting "send and recieve" in pocketoutlook immiedetly finds and downloads the new e-mail. If I wat about 10 minutes the mail shows up as well, but is this really how it should work isn't push mail all about the mail coming in the moment it's sent?
Push Mail is activated in my comm manager...
Any ideas?
Best Regards, Olle
Olleman said:
Any ideas?
Click to expand...
Click to collapse
Yes, wait for a new ROM. Hopefully will be fixed then...
I have the same problem. Testet the server with MTeoR and 9100, they get the email direct, without the 10 minutes delay.
Go to ActiveSync --> Menu --> Schedule...
Change the settings in "Peak times" and "Off-peak times" to "As items arrive" instead of "Every 10 minutes".
Olleman said:
Hi!
I just got PushMail activated on our company Exchange server and sychronising now works great, contacts, email etc. I do however got this annoying problem that mail shows up like 10 minutes after they have been sent and recieved at the server (I checked in Outlook and the mail had arrived) starting synchronizing manually or just hitting "send and recieve" in pocketoutlook immiedetly finds and downloads the new e-mail. If I wat about 10 minutes the mail shows up as well, but is this really how it should work isn't push mail all about the mail coming in the moment it's sent?
Push Mail is activated in my comm manager...
Any ideas?
Best Regards, Olle
Click to expand...
Click to collapse
Hi Olle
I also have push e-mail enabled on my TyTN and I normally receive my mails just a bit before they arrive in my Outlook Inbox.
Can you check your ActiveSync schedule? Is it really set to "As Items Arrive" or have you set a frequency (every 5 or 10 minutes)?
Also, what ROM version are you using?
Regards
Andreas
Hi!
Thanks for your answers, I went through all the settings I could find before I posted and I do have active synch and sceduling set to "when items arrive" it was actully my default setting.
My ROM version is: 1.18.263.2
Swedish language.
I do too, as many others have the same problem with bluetooth stereo sound so I'm looking forward to a new ROM release, perhaps that will solve my 10 minutes delay as well - or could it be some setting on the server?
I have also noticed that my device definetley seems to draw more power with pushmail activated than what it did when I used IMAP4 and looked for new mail every 20 minutes. I always have my 3G/GPRS connection active since I've got flatrate on data.
,Olle
Could be your Operator's DHCP lease timeout policy that's getting you. You're describing exactly the push email situation that happens when your phone's IP address changes faster than the 7 minute heartbeat. Your description fits right down to the increased power consumption too btw. Try this: check your IP address every 5 minutes or so using www.myipaddress.com to see if its changing. If it is then there's your problem and you need to see if your operator has a plan that provides a DHCP lease timeout that's greater than 7 minutes.
Also, there's an A2DP solution too but it involves buying more headset hardware.....
hm...not that problem either, I seem to have the same IP number as long as my connection is active..
,Olle
Hi again,
hm....just to add some more information to the subject that perhaps will help someone to see what the problem is...
I tried setting the schedule to every 10 minutes and back again to "when object arrives" (I've got swedish language on the phone so I'm not sure about the exact phrase) to see if the setting somehow had "locked"....same result though. I did however find something peculiar, my phone is synching every 8 minutes the WHOLE time, I've never used push mail before but I assume that it shouldn't behave like that except if I do get an e-mail every 8 minutes - right?
It also says in active synch that it's synching "E-mail 0/1" every time but I seldome have a new mail after this "every 8 minute synch".
Ohh btw, about the A2DP thing, I don't really considder it a fix if one needs to buy new hardware, that's more like going around the problem. I've got the latest Sony Ericsson A2DP Stereo headset and the phone should definetley be able to use it.
Any ideas anyone ?
Best Regards, Olle
hi guys when setting up push mail, will it auto detect if server has latest service pack etc, as i have set mine up and dont have the option for 'as they arrive' under schedule only got manual,5m,10m etc
Hello,
I think you have a problem with the setup of your infra.
You need to :
*Configure your exchnage to enable Direst push
*Put an HTTP timeout of a least 15 minutes
Take care if you are using Microsoft ISA2000 you need to adapt registry key.
More info please visit www.httpsync.net
Cheers
Hi!
Thanks for your answer, by infra, I assume you mean the exchange server that I'm synching with? I'm leaning more and more towards this as well since all the settings on my phone seems correct and our server admin has just enabled push mail on our server and noone else is using it at our company but me yet.
Best Regards, Olle
Yes in fact enabling the push on the exchange side (or your mobile) is quite simple but some strange behaviour can occur...
ie: the direst push is based on http session that must be keep online during 15 minutes...
also the device receive at it FIRST configuration that the Exchange is able to perform direct push if at the time of the configuration the exchnage was not able to perform direct push you have a risk that you would never be inform of the capability so you need to reconfigure your device ...
ISA2000 is not able to relay (by default, without modifiyng the registry) the fatc that you exchange is Direct push enable...
your sysop will found many information on my website here upper.
André
Olleman said:
Hi!
Thanks for your answer, by infra, I assume you mean the exchange server that I'm synching with? I'm leaning more and more towards this as well since all the settings on my phone seems correct and our server admin has just enabled push mail on our server and noone else is using it at our company but me yet.
Best Regards, Olle
Click to expand...
Click to collapse
Well, my TyTN is sync'ing every 8. minute aswell. But Push is working correctly with MTeoR and 9100 with the same Exchange server.
Guys has anyone got a step by step on setting up push, cause there seem to be options and things that some people leave out, My compnay is trying to test it to see if we should roll it out and microsoft just keep blowing their horn about how great it is and nothing on how to make it work!
Standard Tytn and standard exchange server, starting from scratch.
Also just a note that with the Tytn my boss has handed me and with it in it's current state the schedule option is greyed out, I would ideally like to reset and start again, but it is his one we are testing before we role out XDA mini-s's
EDIT:
OK, problem sorted, looks like the servers I was adding, if i clicked the adanced options it wouldn't save, so now, setting up of a server is done and is syncing.
EDIT; nope, still not syncing up although now I can press the sync button and it actually does something, takes ages , but says 'none' under last sync
Olleman, are you using Office 2007 as well?
I exited Outlook 2007 (beta) and it seems that the typical "syncronize every 8. minute"-thing has stopped.
EDIT: No I'm lying. It had no effect...
8 minute syncs mean the connection is being dropped between your PDA and your Exchange server. Every 7 minutes the PDA side heartbeat wakes up activesync and re-establishes the connection and AUTD syncs your mailbox. Exchange can't send email to you when it arrives because it can't signal your PDA's activesync and tell it to perform an AUTD operation because the existing connection is getting dropped. So it queues the request for the next time the connection gets established.
That being said, there are a number of things that could cause the connection to drop. Since your IP address appears to be stable, that isn't one of them and your next step is firewall timeouts. As has been stated earlier, if your Exchange system has an ISA as its front end then the heartbeat timeout has to be increased from its default value using the indicated links.
I actually implemented mine w/o an ISA by enabling http proxy on the front end server. So, the only device in my way is our Checkpoint firewall which has a 30 minute https timeout (no issues). You might also have to check your own firewall timeout settings for https (or http if, God forbid, that is your connection).
Also: the date and time are correct on your PDA right?
OK, now that I have the server there, thought it might work, but no go, can anyone give more details on what i should do?
Well, I have T-mobile and if I use the default t-mobile ROM. I can sync with all but email. I set up an exchange server without ssl so I can use the $4.99 tzones plan, (HTTP only). :lol:
Works fine if you hard reset and do not allow their ext rom crap to load by soft resetting after the hard reset.
Without their limited, BULL S*&##T, attempt at making more money by charging you extra just to use the Server Activesync functions, ,,, ya, stuff that is in WM5 and works fine by default, bastards.
:twisted:
Anyway, try to softreset after doing to pen alignment stuff, after a hard reset, before it loads the ext rom programs, and ServerActivesync will work, or use another ROM.
Settle down, Beavis :lol:

Exchange ActiveSync Attempts Sync Every Minute

I'm experiencing a serious Exchange ActiveSync problem. Sometime in the past day or two, my Exchange ActiveSync (I currently sync to a hosted Exchange account with 1&1) starting synchronizing every minute, regardless of whether there was any changes or anything new to sync. It does this no matter whether I tell it to sync as new items arrive, manually, or on some schedule. I have definitely customized my device (3rd party programs, etc.), but the only things I changed over the past day or two was:
- added an IMAP account and set it to check for new mail every 30 mins (it seems this is the only way to enable IMAP IDLE - i.e. it downloads new mail as soon as it comes in) (this is my work email account, so the IMAP server is from my work but because our firewall doesn't allow connections for SMTP, I'm using yahoo's smtp server that I pay for to send outgoing email)
- changed the DNS servers for Sprint Power Vision since one of them was down and therefore Pocket IE requests and other network-related requests that required DNS were taking a long time to complete (see http://pdaphonehome.com/forums/htc-...7-web-access-problems-ie-stalls-locating.html)
However, I wasn't paying that close of attention so I'm not sure if the issue started when I made either of the above changes or not. I've since tried removing the IMAP account and it didn't help. Then I completely removed the Exchange ActiveSync profile, sync'ed up to another Exchange server so I could remove all my data (so that when I rejoined Exchange ActiveSync with 1&1 again there wouldn't be duplicates), set-up the IMAP account, and then set up Exchange ActiveSync on 1&1 again and let it download all my data (by the way, this took a loooong time and numerous syncs). However, when I was all done, it was once again attempting to synchronize every minute. I also tried changing the DNS entries back to "use server-assigned addresses" but this had no effect either. I'm at a loss for why its doing this, unless 1&1 has screwed something up somehow. Any help or advice is greatly appreciated, as I can't let it stay like this since the continuous sync'ing will kill my battery within a few hours. Thanks.
- Marc
P.S. I'm using a Sprint Treo 700wx running WM5 with the newest 1.15 update from Palm. 1&1 is running Exchange 2003 SP2 as far as I know.
Same problem here,
old situation:
using wm6 (hermes) with exchange server which would sync directly on change.
new situation:
using wm6.1 (hermes) with exchange server syncs once every minute regardless of settings.
hopes someone knows any registrytweaks of changes (wm6 > wm6.1) for this.
greets,
Jeroen

WM 6.1 ActiveSync Exchange Sync over PPTP VPN WORKING ON FIXED SCHEDULE

I'm an IT guy and I just got into smartphone PPCs for the first time after a long-time hiatus from PDAs when I used to be a Palm owner. After my last palm, a LifeDrive, got stolen I moved to a Moto Q wich was a big dissapointment OS wise, and I never really got into modding it or anything, just set my POP3 e-mail server and used it like that for 2 years (draw back was that I didn't have contact sync nore internal e-mail sync that got handled by my exchange server). My contract with that Q expired and I made the move to a Sprint Mogul with WM 6.1 Pro and I'm NEVER LOOKING BACK!!!
Anyways, enough about me, this is my first contribution so I wanted to do the little intro.
I had searched around a bit about how to get ActiveSync to sync my company's Exchange server through PPTP VPN (we don't have it published with a certificate for an actual push config) but all I found was info on how to setup the VPN itself, being an IT guy that was like pointing out the obvious to me as I had already got that running and connecting but couldn't get anything but the OWA site opening in IE and Opera.
Basically what I figured out was that I had to program a work URL exception in the Connections control panel under the Advanced tab. There I added my exchange server's IP address as a URL and used that IP to program the server under ActiveSync with all the usual credentials. I can't configure it to receive as items arrive, instead I had to let the configuration run on a 10 minute schedule. Every time the schedule is up I see the VPN connecting pop up and it syncs PERFECTLY and disconnects the VPN. (It doesn't turn on my screen each time, it just pops up if I'm using it; but that pop up can be turned off if it gets to annoying).
I don't know if anyone else knew about this but I though I'd share this info as I searched for a few days and found nothing, ended up figuring this out myself. If this is new info I'll post more detailed configuration information for those who desire it.
BTW, this is working over the Data Plan and WiFi as well.
Wow. your a god...
I been trying to figure why it kept disconnecting the vpn when it synced up.
Adding the work url exception works perfect...
(Im using WM6.1 on a Samsung Omnia)
Many Many thanks!
No problem dude! I'm surprised no one else has really found this helpful. Glad I could help!
BTW, those exceptions work very well for internal web sites as well. I use it to log in to web-based management consoles such as Symantec's Mail Security for Exchange, Symantec Endpoint, basically if you got an internal website of some sort you can access it through VPN using a Work URL Exception.
I was looking for this info too, i would like more detailed configuration information about this.
Thanx in advance...
Roland hendriks
What part of the configuration are you having trouble with? Configuring the VPN, the Exchange Server or the URL Exception?
Thanks
I personally am thankful for your information. Even if none of the other 1000s of readers out there say anything...
Thank you for sharing your knowledge.
Tim
Glad I could help! I know I broke my head over this one during the first week of me having a WM phone. I figured it out thanks to the Fdc Soft Task Manager using the Netstat utility. It let me know exactly what the network stack of the phone was trying to do and the URL exclussion I just stumbled upon and reading what the page said it lead me to believe that it might be a routing table for configured "WORK" connections. And it worked.
During the past month or two of using my exchange like this and switching around ROMs and cooking my own ones now I've noticed that having TCP Data Reconnect and Transmission Retry settings in your registry set to high will cause Active Sync to take a long ass time for it to actually route communications through the VPN connection. I noticed this after using custom ROMs wich some have these settings increased to ensure communications go through but they raise connection timeouts way to much. On my own custom ROM I've set these to defaults (2 and 4 respectively) and Active Sync only takes about 1 minute to start syncing onces you hit sync while you wait for it to dial the cellular line and the VPN.
you talk about the vpn..
i think you are in the very small percentage of ppl who can get that to work.
i have the activesync set to manual and have tried the vpn type to both IPSec/L2TP and PPTP
w/o success..i always get a UN PW error which i know cant be so..
i set the host ip to what was shown from "whatsmyip"..
searching for quite awhile, i see thousands of ppl who cant get it to work and have
never found a reliable method that works for anyone but the person who posted it.
if you could back track a little and post how to do it, there are probly
thousands of ppl who would find it very useful and really appreciate it.
thanx
Well one thing is how to setup a WM device's VPN client to connect to your VPN server and another is actually configuring your VPN server. Do you have a working VPN setup in your corporate network already? This usually is setup by having a static IP assigned to your corporate internet connection and a firewall configured to allow VPN access with all the necessary traffic and authentication routes.
If you don't have a static IP in your office and use a lower cost DSL or Cable connection you aren't SOL, for these types of connections you can use a service like dyndns.org to dynamically upadate your dynamic IP into a static dns name like: mycompany.dyndns.org for example. This requires you to setup your firewall or ISP modem to communicate with dyndns.org to report the changes. Most firewalls come with this funcionality already built-in, but most of them also call them by different names so you'd have to look up your equipment's documentation on how to report a dynamic dns service.
I would be happy to help you setup your VPN correctly but its more practicall for me to help you setup a checklist on which type of VPN you want to setup (IPSec or PPTP) and what your corporate network's infrastructure looks like and let you know what to look for in google; there is PLENTY of very helpful information on the web on how to setup VPN but first you have to know what you need and how you are going to achieve it and then you'll know what to look for.
Each setup is very particular to the customer's needs and the network infrastructure that is setup and how much security you want to use (IPSec is a naturally secured VPN tunnel protocol while PPTP is not secured by nature but can be secured with a Radius server in your DMZ validating authentication in an encruypted manner to your Active Directory service).
What I posted above will work for an already existing and working PPTP VPN connection wich I already had running for years in my office and I regularly use with my laptop to connect to my exchange server while on the road or at home. What I posted above is what is need to get your WM device to connect to an already functioning PPTP VPN server.
Hope this helps. And if I'm to help you make a checklist I need a lot of information:
Type of ISP (static IP or dynamic IP)
Type/Brand of firewall device
How the devices are connected together (dumb modem or internet router from your ISP to your firewall's WAN port or a full blown router provided by your ISP wich is patched into your firewall's WAN port)
Internal network configuration (both AD and Exchange on same server (SBS) or separated)
What amount of security you are looking for.
Send me some PMs and maybe I could at least point you in the right direction.
nttdemented: I'm doing the PPTP shuffle at the moment, and wanted to pick your brains..
The basic connection is running fine - e.g. when I add 192.168.0.1 as an Exception and go to http://192.168.0.1 in Pocket IE the VPN fires up and I see the page just fine.
I've also added '10.6.1.8' as an exception, but if I go to that address in PIE, I don't see any network activity (using ethereal/tcpdump) on the 'ppp0' server interface (I use Ubuntu server's pptpd) ...
Can I assume that your Exchange server is hosted on the same machine as your PPTP server? Some MS SBS or similar?
Even if I configure an http proxy (on the 192.168.0.1 IP) I see no activity when I try the 10.6.1.8 address. :/
thanks so much!!
that i didn't find/read about the "exceptions" option in WM before...
Somehow, when i got my phone, i got it to work without this workaround, it just worked, out of the box, no exception setting required. (VPN settings + exchange server location were enough)
But yesterday, from the one moment to the next, it suddenly stopped working.
In my efforts to get it to work again i deleted the exchange settings, but doing that, I deleted all my contacts and my agenda! I was in big trouble because I really needed those , but after reading your post, i got it working again! my phone is synching "as we speak" and i'm very happy!
don't know how it worked before, don't know why it stopped working, all I know is, it's working now!
you made my day
Good to know!
Cheers!
I've since stopped using this method as we got around to publishing our Exchange server with an SSL certificate so I'm actually using SSL enabled ActiveSync push on my phone now.
Excuse me but perhaps you can help me too.
My problem is that I can get/sync my mails using WIFI.
If I connect thru GPRS, y go to send/receive and I get all the mails. If I'm on my office and connect thru WIFI to the work net I also get all the mails from the exchange server.
The problem is when I'm outside my office and connect to other wifi net and try to sync my mails. I have an HTC TOUCH CRUISE with WM 6.1 original from HTC without any flash.
Thanks in advance.
VPN connection doesn't always connect for ActiveSync synchronization?
I have had ActiveSync working with an Exchange server over a PPTP VPN connection for years now, but there has been one nagging issue I can't figure out. For the most part it works, but sometimes when ActiveSync tries to sync it will not make the VPN connection. There is only one connection listed when I tap on the icon on the notification bar - the phone's data connection. So in activesync, the icon with the arrows spins for a while but nothing synchronizes. I think it ends up saying "waiting for network" or something like that. It seems to always work when I manually hit "sync", but sometimes it fails on scheduled synchronizations.
Any idea why this happens sometimes?
oh...cheers...got my brain back...
The exceptions rule has almost fixed mine now. I'm getting mail but not through Activesync (just sits waiting for network).

Categories

Resources