1
0

hosts/carbon: Set correct MTU

This commit is contained in:
clerie 2024-02-07 12:25:52 +01:00
parent 5b3933937e
commit 7f6bfafbcf

View File

@ -264,7 +264,7 @@
ip46tables -A forward-filter -o enp1s0.202 -j DROP ip46tables -A forward-filter -o enp1s0.202 -j DROP
''; '';
clerie.firewall.extraForwardMangleCommands = '' clerie.firewall.extraForwardMangleCommands = ''
ip46tables -t mangle -A forward-mangle -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1452 ip46tables -t mangle -A forward-mangle -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1416
''; '';
services.pppd = { services.pppd = {
@ -280,7 +280,7 @@
noipdefault noipdefault
lcp-echo-interval 20 lcp-echo-interval 20
lcp-echo-failure 3 lcp-echo-failure 3
mtu 1492 mtu 1456
hide-password hide-password
defaultroute defaultroute
+ipv6 +ipv6