summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/systemd/network/20-default.network7
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