Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I use OpenVPN for only one window/process?

Example Case Scenario:

I want to use a US only website on Firefox, but use my ip on the chromium process

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The only way you could do that would be to have a proxy server on the same network (or host) as the OpenVPN server and to configure Firefox to use that proxy. You'll have to ensure that the OpenVPN server only pushes routes to it's own network and doesn't make the VPN the default route.

This is because OpenVPN (and indeed any true VPN) works at a networking level, not a process level.


Please give me steps or a tutorial on how to do that

There is an official how-to on installing Squid and for OpenVPN. For anything detailed you need to provide details of the networking setup of your VPN server so we know what your options are.

At a high level, configure:

  1. OpenVPN to use routing, not bridging
  2. Squid to accept any client on the subnet you're using for OpenVPN
  3. Firefox to use the IP of the OpenVPN server's VPN subnet
share|improve this answer
    
Please give me steps or a tutorial on how to do that –  Amith KK Feb 5 '12 at 16:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.