summaryrefslogtreecommitdiff
path: root/etc/systemd/network/20-default.network
blob: 71b9818d1407dd1bce0528fe42efc9da56ed6baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[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

[Address]
Address=2a0f:9400:7e11:991::1/64

[Route]
Gateway=140.233.190.1

[Route]
Gateway=2a0f:9400:7e11::1
GatewayOnLink=yes