Using a proxy for certain sites only

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.


Solution 1:

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

Solution 2:

I did a lot 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 like:

function FindProxyForURL(url, host){
    if ( dnsDomainIs(host,"www.proxyThisWebsite.com") ) {
        return "SOCKS5 127.0.0.1:9988" ;
    }
}

Solution 3:

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