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