all: bypass vpns to reach proxy

This commit is contained in:
Adithya 2024-10-27 12:54:10 +05:30
parent 9052721d91
commit a3502ce29d
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 15 additions and 8 deletions

View file

@ -24,6 +24,13 @@ _: {
linkConfig = { linkConfig = {
RequiredForOnline = "yes"; RequiredForOnline = "yes";
}; };
routes = [
{
Destination = "165.232.180.97";
Gateway = "_dhcp4";
GatewayOnLink = "yes";
}
];
}; };
}; };
}; };

View file

@ -40,14 +40,14 @@ in
transport.useCompression = true; transport.useCompression = true;
} }
]; ];
#matrix-sliding-sync = { #matrix-sliding-sync = {
#enable = true; #enable = true;
#settings = { #settings = {
# SYNCV3_SERVER = "https://${domainName}"; # SYNCV3_SERVER = "https://${domainName}";
# SYNCV3_BINDADDR = "127.0.0.1:8009"; # SYNCV3_BINDADDR = "127.0.0.1:8009";
# SYNCV3_DB = "postgresql://dendrite@localhost/dendrite?sslmode=disable"; # SYNCV3_DB = "postgresql://dendrite@localhost/dendrite?sslmode=disable";
#}; #};
#environmentFile = config.sops.secrets."matrix/syncv3_secret".path; #environmentFile = config.sops.secrets."matrix/syncv3_secret".path;
#}; #};
}; };
systemd.services.dendrite = systemd.services.dendrite =