From c2ee4ced281a9fbfd36e5e930f935a0c240812b2 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Tue, 1 Sep 2020 18:44:10 +0000 Subject: openvpn: support two distinct (masquerading and non-masquerading) vpn's. --- public/fs/etc/openvpn/hostvpn.conf.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 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" -- cgit v1.2.3