From b572ce897f8350641506e4dd2ad435965d5614d4 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 18 Feb 2025 05:52:14 +0000 Subject: When this VPS provider enable DDOS protection, need to change mtu to 1476 to download certain files from github. --- etc/systemd/network/20-default.network | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc/systemd') 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 -- cgit v1.2.3-70-g09d2