ip range fix
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ pkgs, lib, host, secrets, ... }:
|
||||
lib.mkIf (host != "NxACE")
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
strongswanNM
|
||||
@@ -44,11 +43,11 @@ lib.mkIf (host != "NxACE")
|
||||
leftauth = "eap";
|
||||
eap_identity = "${secrets.email.hsmw.un}@hs-mittweida.de";
|
||||
leftsourceip = "%config";
|
||||
leftdns = "%config4";
|
||||
leftfirewall = "no";
|
||||
leftdns = "%config4"; # Ensure that DNS resolution works as expected
|
||||
leftfirewall = "no"; # Keep firewall disabled, but manually check rules
|
||||
right = "141.55.128.84";
|
||||
rightid = "@vpn4.hs-mittweida.de";
|
||||
rightsubnet = "0.0.0.0/0";
|
||||
rightsubnet = "141.55.128.0/16"; # Split tunneling: Only route traffic for the VPN subnet
|
||||
rightauth = "pubkey";
|
||||
auto = "add";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user