summaryrefslogtreecommitdiff
path: root/public/fs/etc/openvpn/hostvpn.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'public/fs/etc/openvpn/hostvpn.conf.in')
-rw-r--r--public/fs/etc/openvpn/hostvpn.conf.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/public/fs/etc/openvpn/hostvpn.conf.in b/public/fs/etc/openvpn/hostvpn.conf.in
index fb85982..b82bbec 100644
--- a/public/fs/etc/openvpn/hostvpn.conf.in
+++ b/public/fs/etc/openvpn/hostvpn.conf.in
@@ -1,7 +1,7 @@
port @vpn_port@
proto udp
-dev tun0
+dev @vpn_tunnel@
topology subnet
cipher AES-256-CBC
@@ -13,14 +13,14 @@ askpass /srv/webroot/openvpn/@hostname@.pass
key /etc/easy-rsa/pki/private/@hostname@.key
dh /etc/easy-rsa/pki/dh.pem
-status /var/log/openvpn/openvpn-status.log
-log-append /var/log/openvpn/openvpn.log
+status /var/log/openvpn/openvpn-@vpn_type@-status.log
+log-append /var/log/openvpn/openvpn-@vpn_type@.log
server @vpn_net4@ 255.255.255.0
-server-ipv6 @host_ipv6@:8000::/65
+server-ipv6 @host_ipv6@:@ipv6_subnet@::/66
push "route-ipv6 2000::/3"
-push "route-ipv6 host_ipv6::/64"
+push "route-ipv6 @host_ipv6@::/64"
push "route 192.168.0.0 255.255.255.0"
@vpn_route_all@ push "block-outside-dns"