mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 09:55:38 +01:00
enhanced TUD vpn
This commit is contained in:
parent
9e79ac53fb
commit
6c56a8669e
1 changed files with 12 additions and 1 deletions
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue