You need to uncomment the following line in the OpenVPN server config file:

push "redirect-gateway"

see the comments in the sample config file from the OpenVPN package for
detailed explanation.

Hope that helps.

Robert Toole
[EMAIL PROTECTED]

Jon wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi All,
> 
> I think I'm about 3 seconds away from understanding how to do this, but
> it's a looong three seconds.
> 
> I've set up an OpenVPN server and can successfully connect to it from my
> laptop using the OpenVPN in client mode. All is good, but I'm not quite
> able to make the leap to what I really want to happen.
> 
> I want to experiment using this VPN in public hotspots to secure my
> traffic. In short, I want all my traffic to go from my wifi card to my
> OpenVPN server and THEN out into the Internet. At the moment, even when
> connected to the VPN, a quick visit to What's my IP shows my home WAN IP
> so I know I'm not coming out of my VPN server.
> 
> I'm thinking I need to be looking at routing or tunneling or something.
> I'm familiar with using VPNs to access server shares, mail servers, and
> the like, but not how to tell my NIC to exclusively send traffic to it
> instead out to the Internet at large.
> 
> Does that even make sense? Sheesh...nudges welcome. Oh, and since this
> is a Talk list - I'm totally up for hearing about cool things one can do
> with a VPN.
> 
> Thanks!
> 
> J
> - --
> Key fingerprint: BDE0 DE52 B8C0 0CDF 7653 E5A2 D861 7877 0D3B 813E
> http://www.jonwatson.ca
> +1.403.875.6048
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFFblpD2GF4dw07gT4RAvnVAJ9wfAZ8M1GuwhbJSlwJRh7e1bVcTgCdGbKo
> de32cD1ihXrYhZhDbbXEdBY=
> =v0cn
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
> 
> 

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to