Is an one using a Rpi2 with rasping Jessie with OpenVPN I am having trouble with getting all the traffic to route through the VPN
If you were more specific, we might be able to help you. I have an openVPN server running on my wheezy machine... have not tried it on Jessie yet... it should be transparent, if you've setup everything correctly; and that's a big if.yonubear wrote:Is an one using a Rpi2 with rasping Jessie with OpenVPN I am having trouble with getting all the traffic to route through the VPN
My point precisely. Its not normal for all traffic to go through the openVPN server. The server issues the client an IP address that from the standpoint of the internal net makes the client appear as though its the server address.Tzarls wrote:I think the OP is looking for a way to use the RPI as an OpenVPN client, so that all traffic going out of the RPi goes thru the OpenVPN server.
Still, more info is needed, as what are the steps already tried.
Routing all client traffic (including web-traffic) through the VPN
Add the following directive to the server configuration file:
push "redirect-gateway def1"
Yes, obviously, that is required! Your PI server (openVPN) should be wired on your home network with a reserved IP address (if it gets its address dynamically) and the server should be listening on 1194 udp. Your firewall|router should be set for forward 1194udp port traffic to your PI openVPN server (local IP address). You should not be having to play with your default gateway, &c.yonubear wrote: I am trying to get it so that as far as the the internet and devices are concerned it is part of my home network.