From 6c56a8669eee931b4073d8b245a8d584406d5efe Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 2 Jan 2023 22:46:26 +0100 Subject: [PATCH] enhanced TUD vpn --- hosts/thinkpad/modules/networks/uni.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/thinkpad/modules/networks/uni.nix b/hosts/thinkpad/modules/networks/uni.nix index aa169bd..3d07116 100644 --- a/hosts/thinkpad/modules/networks/uni.nix +++ b/hosts/thinkpad/modules/networks/uni.nix @@ -34,7 +34,7 @@ }; }; openconnect.interfaces = { - TU-Dresden = { + TUD-A-Tunnel = { # apparently device names have a character limit protocol = "anyconnect"; gateway = "vpn2.zih.tu-dresden.de"; user = "rose159e@tu-dresden.de"; @@ -45,6 +45,17 @@ compression = "stateless"; }; }; + TUD-C-Tunnel= { + protocol = "anyconnect"; + gateway = "vpn2.zih.tu-dresden.de"; + user = "rose159e@tu-dresden.de"; + passwordFile = config.sops.secrets."uni/zih".path; + autoStart = false; + extraOptions = { + authgroup = "C-Tunnel-All-Networks"; + compression = "stateless"; + }; + }; }; }; }