TITAN/fbi-downloader: limit wgupload MTU to 1200
This commit is contained in:
parent
a7bf8ca4b7
commit
cd8885bf96
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
|
@ -56,6 +56,7 @@
|
||||||
ips = [ "10.150.0.2/24" ];
|
ips = [ "10.150.0.2/24" ];
|
||||||
privateKeyFile = config.age.secrets.wireguard-key-upload.path;
|
privateKeyFile = config.age.secrets.wireguard-key-upload.path;
|
||||||
allowedIPsAsRoutes = true;
|
allowedIPsAsRoutes = true;
|
||||||
|
postSetup = "${pkgs.iproute2}/bin/ip link set mtu 1200 wgupload";
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
publicKey = "apKXnlMtcOe8WqCVXJAXEjzppN+qTmESlt0NjMTaclQ=";
|
publicKey = "apKXnlMtcOe8WqCVXJAXEjzppN+qTmESlt0NjMTaclQ=";
|
||||||
|
|
Loading…
Reference in a new issue