Skip to content

Commit

Permalink
Ignore routes when nexthop link is down
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Dec 13, 2023
1 parent 4e8f584 commit 9656539
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shadowsocks-libev/files/shadowsocks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ net.ipv4.tcp_mtu_probing = 0
# Default conntrack is too small
net.netfilter.nf_conntrack_max = 131072

net.ipv4.conf.all.ignore_routes_with_linkdown = 1
net.ipv4.conf.default.ignore_routes_with_linkdown = 1

net.ipv4.tcp_ecn = 2
#net.ipv4.tcp_sack = 0
#net.ipv4.tcp_dsack = 0
Expand Down

0 comments on commit 9656539

Please sign in to comment.