Using a proxy for certain sites only

3

When I work from home, I want to read some sites that my work blocks. Since I'm connected via VPN, their servers route my requests and sites like reddit are blocked.

Currently, I just RDP into another computer in my home and use the browser on that machine. Is there a way to set up a proxy on the other computer and instruct my system to use the proxy for certain sites?

This is all on win7.

Matt

Posted 2012-04-27T23:17:32.260

Reputation: 5 109

Answers

8

If you use Firefox, you could use FoxyProxy to only use a configured proxy for certain sites, certain URL patterns.

Justin Pearce

Posted 2012-04-27T23:17:32.260

Reputation: 2 712

I would add that FoxyProxy Standard is needed, as the basic version doesn't support proxy selection based on URLs. – Dmitry Grigoryev – 2019-04-21T15:55:56.013

2

Theoretically proxy auto configuration (PAC) script is meant for this (but this requires some programming). Practically, I think you can use different browsers - one for sites you access via proxy and second for all other sites. In Firefox you can also set up different profiles - one for using proxy, and second for direct access to internet: https://support.mozilla.org/en-US/kb/Managing-profiles

Davis

Posted 2012-04-27T23:17:32.260

Reputation: 21

1

I think what you want to do is configure your home computer to only use the VPN connection when trying to reach machines at work, otherwise forward through your local(home) router. Presumably, you won't have to deal with any web filtering that way.

If the following link doesn't work, you can google configuring a split tunnel VPN on Win7.
https://www.isinc.com/2011/08/30/configuring-a-split-tunnel-pptp-vpn-in-windows-7/

Jason Turner

Posted 2012-04-27T23:17:32.260

Reputation: 11

0

I did alot of research and I think the most convenient way is using pcap.
In firefox:
Open preferences and choose settings of network proxy settings. Selecting "automatic proxy configuration" and pointing to where your pcap file resides. Don't forget to use file:// extension.
Follow mozilla's tutorial to get your whitelist running.
It will be something

function FindProxyForURL(url, host){

if(
dnsDomainIs(host,"www.proxyThisWebsite.com")
 )
return "SOCKS5 127.0.0.1:9988"
}

Marwan Nabil

Posted 2012-04-27T23:17:32.260

Reputation: 1

0

Proxy SwitchyOmega https://addons.mozilla.org/en-US/firefox/addon/switchyomega/

  1. Go to "options" and configure your proxy
  2. Use it for a specific site[s] only: The key is in "auto switch" tab in options -> "Switch rules" insert the name of the site for which you would like the proxy to be used for: cnn.com in this example enter image description here

Radu Gabriel

Posted 2012-04-27T23:17:32.260

Reputation: 101

0

If you're using a windows VPN connection, there is a check box on the ipv4 settings advanced properties window (of that connection) that (since the release of windows 7 is checked by default) forces all connections to use the 'default gateway on remote network'. Un-check this box and you should be able to navigate to any address. This may require you to specify a domain when you rdp into a machine in your office (i.e. machine.domain.com).

David

Posted 2012-04-27T23:17:32.260

Reputation: 1