enhanced TUD vpn

This commit is contained in:
Rouven Seifert 2023-01-02 22:46:26 +01:00
parent 9e79ac53fb
commit 6c56a8669e
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -34,7 +34,7 @@
}; };
}; };
openconnect.interfaces = { openconnect.interfaces = {
TU-Dresden = { TUD-A-Tunnel = { # apparently device names have a character limit
protocol = "anyconnect"; protocol = "anyconnect";
gateway = "vpn2.zih.tu-dresden.de"; gateway = "vpn2.zih.tu-dresden.de";
user = "rose159e@tu-dresden.de"; user = "rose159e@tu-dresden.de";
@ -45,6 +45,17 @@
compression = "stateless"; 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";
};
};
}; };
}; };
} }