summaryrefslogtreecommitdiff
path: root/public/fs/etc/openvpn/hostvpn.conf.in
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-07-01 09:16:56 +0000
committerroot@culturestrings <root@culturestrings>2020-07-01 09:16:56 +0000
commita75d12f964f0d3b77d041ef310c991631097ff0e (patch)
tree0c1b3d509beacd6606bd645019530b22a2250334 /public/fs/etc/openvpn/hostvpn.conf.in
parent2487cfaaf383e1b93b3c33adfec8108ae335d921 (diff)
downloadculturestrings-a75d12f964f0d3b77d041ef310c991631097ff0e.tar.bz2
culturestrings-a75d12f964f0d3b77d041ef310c991631097ff0e.tar.xz
openvpn: added $vpn_route_all support (yes/no).
Diffstat (limited to 'public/fs/etc/openvpn/hostvpn.conf.in')
-rw-r--r--public/fs/etc/openvpn/hostvpn.conf.in6
1 files changed, 3 insertions, 3 deletions
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