Traffic routing through VPN

In my actual configuration, OpenVPN provides a remote DNS and only routes traffic to the internal LAN. Every public traffic is kept out of the VPN. Yesterday, I wanted to route every traffic through my VPN ; to masquerade my 3G IP address :-D

Anyway, there’s only a small change to apply to the OpenVPN client configuration file:

# Route all traffic through the VPN
route-gateway 10.0.0.1
redirect-gateway

Restart your OpenVPN client and that’s all folks!

Source: OpenVPN – DD-WRT Wiki

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>