From: Ian Kelling Date: Tue, 24 Jan 2017 06:24:56 +0000 (-0800) Subject: minor rename and improvements X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=380c0bb2981093bb23d85eeca29e5b214de5e14a;p=vpn-setup minor rename and improvements --- diff --git a/vpn-server-setup b/vpn-server-setup index 8d25c1f..4dcb215 100755 --- a/vpn-server-setup +++ b/vpn-server-setup @@ -83,7 +83,11 @@ teeu /etc/openvpn/server.conf <<'EOF' cipher aes-256-cbc # Be the default gateway for clients. push "redirect-gateway def1" +# just sets up the ability to have client specific configs +client-config-dir /etc/openvpn/client-config EOF +mkdir -p /etc/openvpn/client-config + if $dns; then # Be the dns server for clients @@ -101,7 +105,7 @@ EOF gw=$(ip route | sed -rn 's/^default via .* dev (\S+).*/\1/p') -sudo dd of=/etc/systemd/system/mynat.service <