• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1794
  • Last Modified:

VPN Connection works but outlook connecting to exchange server occasionaly works

Ok I have a Juniper Network Firewall 25 and I have set up a vpn to allow traveling users to connect to our network and so they can use their outlook on the road (we had a new mandate that made me remove OWA)

The vpn works great, everyone can connect, if they have offline files they synch and they can ping the internl servers by both UDN name and ip address. Here is the problem, I'm getting reports back from the field that their outlook sometime won't ever connect to exchange box.  If they are in a hotel that they can connect using outlook, they always can. If they are in a hotel were the first try they can't they never can. We also have a few users that have Verizon wireless broadband card so they can connect where ever. I'll use this one as an example since I can try it out in the office.

Using the boadband card I connect and then connect to the vpn. I can ping, synch and remote desktop to our internal servers including the exchange server.

When I open exchange, it just sits at "trying to connect". If I run from the command line: outlook.exe /rpcdiag it shows it first trying to connect to a DC server and then the exchange server. Nothing is dispalyed in the Interface or conn columns. This makes me believe exchange doesn't know about the broadband interface.

I could really use some help on this one ASAP. I need to get this connection more reliable.

THanks,
Aaron
0
chemdry
Asked:
chemdry
  • 2
  • 2
  • 2
  • +2
1 Solution
 
Rob WilliamsCommented:
When the users can't connect, can they connect at that time to other resources on the VPN?
Reason I ask is VPN's will often not work in some public locations such as hotels due to their routers not supporting or are not configured for VPN pass through, also some intentionally block all but ports 80 and 443. The other thing I have run into is either end of a tunnel needs to be on a different subnet. If your office is on a common subnet such as 192.168.0.0,  192.168.1.0,  192.168.100.0,  or 10.0.0.0, it will often conflict with the remote site.
0
 
lrmooreCommented:
One easy solution may be to add a LMHOSTS file to their laptops with three entries:

      10.0.0.1   PDCNAME   #PRE #DOM:DOMAIN-NAME
      10.0.0.1   "DOMAIN-NAME    \0x1b"   #PRE
      10.0.0.25 EXCHANGE1 #PRE


Ref:
How to Write an LMHOSTS File for Domain Validation and Other Name Resolution Issues
http://support.microsoft.com/kb/q180094/

Never fails me on while I'm on the road. Never been in a situation where I could not access Exchange server over the VPN.
0
 
rsivanandanCommented:
Lrmoore's suggestion would be the first one to try if I were you. I had a lot of guys having the save problem. An entry either in LMHosts file or Hosts file will resolve your problem.

Cheers,
Rajesh
0
WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

 
chemdryAuthor Commented:
Yes the user is able to connect to other resources on the VPN, just Outlook won't connect. I tried the LMHOST  and it didn't work either.

We have OWA still up internal (must be vpn in to use it) for testing and backup for outlook not working. It seems the both Internet Explorer and Outlook aren't checking the vpn tunnel although when you go to a command prompt and ping it does....

When connected to the vpn (remember everything works with some connections and other connections ie a different hotel it doesn't and for this case I'm using the Verizon Wireless Broadband Air Card which is a connection that doesn't) and I open explorer and type in 10.1.1.2 which is our Exchange server, it comes back with this service isn't available on and shows a public IP address which I think is verizons and outlook doesn't show a interface it is trying to connect on.

On the LMHOST, I replace DOMAIN_NAME with ours and EXCHANGE1 with our exchange server right? That's what I did but want to make sure.
0
 
lrmooreCommented:
Regarding the LMHOSTS, yes, replace "PDCNAME" with the name of the domain controller, "EXCHANGE1" replace with the name of the exchange server, the "domain-name" with your domain.
Rules of LMOSTS are explained in the reference article.
Spaces are tabs, not spaces, i.e.
   10.0.0.1  <tab>  DCNAME  <tab>  #PRE <tab>  #DOM:DOMAIN-NAME
   10.0.0.1  <tab>  "DOMAIN-NAME   \0x1b"  <tab>  #PRE
                           ^ there must be eactly 20 characters between " " and the last 5 characters must be "\0x1b"
There must be a blank line with carriage return at the end
File must not have .txt or any other file extension
Use "nbtstat -R" after saving the file (Capital "R")
Use "nbtstat -c"  to check that it worked (lowercase "c")
                       

What kind of VPN are you using? Microsoft PPTP or other?
0
 
chemdryAuthor Commented:
I'm using the Juniper Netscreen 25 firewall with the Netscreen-Remote vpn client utility.

I've tried the LMHOSTS and it doesn't appear to be working. Since I'm not connected through microsoft vpn which assigns your computer an internal ip address it can't find the records. The Netscreen-remote assigns a 60.60.60.x ip address and nats the transversal back and forth.

Has anyone seen a way to force the network connection to check a particular connection first and then any other connections second?? I'm thinking that outlook and IE are looking at the broadband connection, not finding the servers, and then doesn't check the vpn connection. But ping seems to do so as I can ping everything.
0
 
rsivanandanCommented:
Chemdry,

  Go to this directory C:\WINDOWS\system32\drivers\etc and there you will have a file named hosts with no extension.

In that just add your PDC name and Exchange Server name. Then open outlook, see what is happening.

How to add:

x.x.x.x   <Name of the PDC>

y.y.y.y   <Name of the Exchange>

Note that x.x.x.x and y.y.y.y has to be the internal ip addresses in your organization.

Let us know if this works.

Cheers,
Rajesh
0
 
vancampconsultCommented:
This FULLY fixed a similure problem I was having with VPN... AWESOME! Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now