Modified GlobalProtect VPN Setting
This commit is contained in:
parent
1cfaf2c25d
commit
4610f75d06
1 changed files with 7 additions and 3 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue