jonwoodlief
So I'm looking for access to my local network exclusively through my vpn. There are only 3 specific IPS at the moment that I need pushed through, that number will increase but not by a whole lot.
If I use "push redirect-gateway def1 bypass-dhcp" to route all of my traffic through my vpn, I get access to my entire local network exactly how I would like to. Namely- I am able to use local ips to connect to my machines, and use my router's web interface at 192.168.0.1 through my browser.
How can I get that functionality but only for the 192.168.0.x ip range?
This is running openvpn on a linux box, running everything from command line using server.conf
jonwoodlief
I've been trying to resolve this since yesterday- but as soon as I ask for help I figure it out myself!
adding the following two lines to my client.conf has resolved this. I was trying to use these lines in my server config- but they needed to be in the client config. This routes the entire 192.168.0.x range through my vpn
route-nopull
route 192.168.0 255.255.255.0