Use default Gateway and DNS from local machine

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
fohnbit
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 05, 2018 8:22 am

Use default Gateway and DNS from local machine

Post by fohnbit » Fri Oct 05, 2018 8:38 am

Hello,

when I connect via VPN, my PC use the VPN connection for default gateway and DNS.
I added to my client profile:
pull-filter ignore "redirect-gateway"

now he use my default gateway from my ethernet connection.

But then no PC over the VPN is reachable.

My configuration:
VPN: 10.8.0.1
network behind VPN: 10.119.129.0/24
local network: 192.168.0.0/24 ... but this could be changed, if I´m at another WLAN

Has I setup my VPN server different or just the client?

Thank you!

fohnbit
OpenVpn Newbie
Posts: 2
Joined: Fri Oct 05, 2018 8:22 am

Re: Use default Gateway and DNS from local machine

Post by fohnbit » Wed Oct 17, 2018 5:34 am

Hello,

no one has an idea?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Use default Gateway and DNS from local machine

Post by TinCanTech » Wed Oct 17, 2018 12:02 pm


Post Reply