Discussion:
[Openvpn-users] Combining redirect-gateway with block-outside-dns
debbie10t
2017-06-21 14:50:52 UTC
Permalink
Hi

Ref: https://forums.openvpn.net/viewtopic.php?f=6&t=24318
(Not interested in a solution for it, just for info)

Details of *my* question:

Server.conf:

push "redirect-gateway def1 block-local"
push "dhcp-option DNS 10.100.0.X"
push "block-outside-dns"

Note:
1. There is no push "route 10.100.0.X"
2. redirect-gateway should force 10.100.0.X over the tunnel
(presuming there is no specific route on the client)
3. (eg) Server LAN 192.168.101.0/24
Client LAN 192.168.121.0/24

In this scenario:
Would block-outside-dns block access to the pushed DNS server ?

thanks
debbie10t
2017-06-21 14:59:44 UTC
Permalink
Never mind .. of course it would not block dns otherwise private VPNs
could not use google dns etc.
Post by debbie10t
Hi
Ref: https://forums.openvpn.net/viewtopic.php?f=6&t=24318
(Not interested in a solution for it, just for info)
push "redirect-gateway def1 block-local"
push "dhcp-option DNS 10.100.0.X"
push "block-outside-dns"
1. There is no push "route 10.100.0.X"
2. redirect-gateway should force 10.100.0.X over the tunnel
(presuming there is no specific route on the client)
3. (eg) Server LAN 192.168.101.0/24
Client LAN 192.168.121.0/24
Would block-outside-dns block access to the pushed DNS server ?
thanks
Continue reading on narkive:
Loading...