Solved

Bypass proxy.pac for VPN connections

Posted on 2014-03-07
7
1,985 Views
Last Modified: 2014-03-18
Hello everyone,

In one of our customers environments we use a proxy.pac for automatic proxy configuration. The pac file is distributed to Internet Explorer configuration using Group Policy.

Now the Problem is that a lot of users complain about very slow internet connections when working while connect via VPN (Checkpoint). The Checkpoint policy is not defined to route all network traffic through the VPN tunnel. Normaly browsing the web would be handled solely by the clients local internet connection and not through the company network.

The problem itself sounds reasonable since the Browser is able to reach the Proxy.pac and has to go through all the lines of code in it every time a web page loads.

So the question is. Is there a preferably easy way to get the client to recognize wether it's preferable to use the proxy.pac file (while inside the company net) or it's total nonsens (VPN)

Thanks in advance for any advice.

Best Regards,

Lars
0
Comment
Question by:eSourceONE
  • 3
  • 3
7 Comments
 
LVL 61

Expert Comment

by:gheist
Comment Utility
You can replace proxy.pac with dynamic script that hands out return DIRECT to dialin users...
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Depending on how the VPN connection appears you should be able to code the proxy.pac file in a way to detect that there is a VPN interface (IP address/subnet) and return DIRECT and the code can go at the beginning of the pac file so you don't go through the whole pac file.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
MyIpAddress() sometimes picks user's public adress, sometimes virtualbox/vmware/virtualpc adapter etc...
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
Comment Utility
I can't remember how I did it, but I know I did not use MyIpAddress().  As gheist stated, that was unreliable.

However since you mentioned Checkpoint and VPN, not sure of your setup, but it looks like the VPN client may have a solution:

https://sc1.checkpoint.com/documents/R77/CP_R77_VPN_AdminGuide/14156.htm

Search on "Windows Proxy Replacement"
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Since PAC file is retrieved without proxy you and always plant address retrieving the file in it.... (and sorry if I get annoying with trying to convince you to follow me with dynamic script)
0
 

Author Closing Comment

by:eSourceONE
Comment Utility
The proxy.pac Checkpoint creates is a little awkward since it reveals the internal network in plain text while a simple "return direct" would have also done the trick.

Nevertheless this solution's proved to be acceptable by our customer.

Thanks for the help!
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Thanks for the points.

I did go back and find my proxy.pac file.  As it turns out I did use MyIpAddress(), but it was a "not" check.

If MyIpAddress() was not in the subnet used for desktops in the office, you went direct.

The only issue we ever had was one person decided to setup their home network to use the same IP subnet that we used for desktops at work.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now