mirror of
https://git.kb-one.de/kb01/aux-config.git
synced 2025-12-05 18:28:53 +00:00
Modified GlobalProtect VPN Setting
This commit is contained in:
parent
1cfaf2c25d
commit
4610f75d06
|
|
@ -330,11 +330,15 @@ in {
|
|||
# Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
|
||||
services.globalprotect.settings = {
|
||||
services.globalprotect = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"vpn.ohmportal.de" = {
|
||||
openconnect-args = "--protocol gp --disable-ipv6";
|
||||
openconnect-args = "--protocol gp --disable-ipv6 --mtu=1284 --force-dpd=30 ";
|
||||
};
|
||||
};
|
||||
csdWrapper = "${pkgs.openconnect}/libexec/openconnect/hipreport.sh";
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
|
|
|
|||
Loading…
Reference in a new issue