From a75d12f964f0d3b77d041ef310c991631097ff0e Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Wed, 1 Jul 2020 09:16:56 +0000 Subject: openvpn: added $vpn_route_all support (yes/no). --- public/fs/etc/openvpn/hostvpn.conf.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public/fs/etc/openvpn/hostvpn.conf.in') diff --git a/public/fs/etc/openvpn/hostvpn.conf.in b/public/fs/etc/openvpn/hostvpn.conf.in index 59f7684..fb85982 100644 --- a/public/fs/etc/openvpn/hostvpn.conf.in +++ b/public/fs/etc/openvpn/hostvpn.conf.in @@ -23,9 +23,9 @@ push "route-ipv6 2000::/3" push "route-ipv6 host_ipv6::/64" push "route 192.168.0.0 255.255.255.0" -push "block-outside-dns" -push "redirect-gateway def1" -push "dhcp-option DNS @vpn_ipv4@" +@vpn_route_all@ push "block-outside-dns" +@vpn_route_all@ push "redirect-gateway def1" +@vpn_route_all@ push "dhcp-option DNS @vpn_ipv4@" duplicate-cn client-to-client -- cgit v1.2.3