Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Bypass proxy.pac for VPN connections

Posted on 2014-03-07
7
Medium Priority
?
2,652 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 62

Expert Comment

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

Expert Comment

by:giltjr
ID: 39914037
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 62

Expert Comment

by:gheist
ID: 39914331
MyIpAddress() sometimes picks user's public adress, sometimes virtualbox/vmware/virtualpc adapter etc...
0
Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

 
LVL 57

Accepted Solution

by:
giltjr earned 1500 total points
ID: 39914655
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 62

Expert Comment

by:gheist
ID: 39914731
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
ID: 39937069
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
ID: 39937120
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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

618 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