Modified GlobalProtect VPN Setting

This commit is contained in:
Matthias 2024-08-01 11:38:03 +02:00
parent 1cfaf2c25d
commit 4610f75d06

View file

@ -330,10 +330,14 @@ in {
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
services.globalprotect.settings = { services.globalprotect = {
"vpn.ohmportal.de" = { enable = true;
openconnect-args = "--protocol gp --disable-ipv6"; settings = {
"vpn.ohmportal.de" = {
openconnect-args = "--protocol gp --disable-ipv6 --mtu=1284 --force-dpd=30 ";
};
}; };
csdWrapper = "${pkgs.openconnect}/libexec/openconnect/hipreport.sh";
}; };
# Open ports in the firewall. # Open ports in the firewall.