diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-02-18 05:52:14 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-02-18 05:52:14 +0000 |
commit | b572ce897f8350641506e4dd2ad435965d5614d4 (patch) | |
tree | ab8bc423e82b3528c2d1e4756f2f60883859e1fc | |
parent | dc3e20709bdffb506bdb55ba1818268cb40fb314 (diff) |
When this VPS provider enable DDOS protection, need to change mtu to 1476 to download certain files from github.
-rw-r--r-- | etc/systemd/network/20-default.network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/systemd/network/20-default.network b/etc/systemd/network/20-default.network index 91478c96..71b9818d 100644 --- a/etc/systemd/network/20-default.network +++ b/etc/systemd/network/20-default.network @@ -1,6 +1,13 @@ [Match] Name=eth0 +# When this VPS provider enable DDOS protection, need to decrease MTU to 1476 to download some files from github. +# Another way: `sudo ip link set eth0 mtu 1476` +# Can be tested with: `curl -OL https://github.com/Jackett/Jackett/releases/download/v0.22.1437/Jackett.Binaries.LinuxAMDx64.tar.gz` +# Reference: https://matrix.to/#/!zcwPiRWfGAnrQXtkYf:kyun.host/$E-v8JLJy4M5WwJo4CBNUWSPh871o6xOvnjUAIBk5juM +[Link] +MTUBytes=1476 + [Address] Address=140.233.190.226/24 |