remove few sysctl conf
* remove packet forwarding * remove network interface eth0 conf
This commit is contained in:
parent
c4f36aa77f
commit
8a0b79cee9
|
@ -104,14 +104,6 @@ net.ipv4.tcp_syn_retries = 2
|
|||
net.ipv4.tcp_synack_retries = 2
|
||||
net.ipv4.tcp_max_syn_backlog = 4096
|
||||
|
||||
# Disables packet forwarding
|
||||
# Should be enabled for Docker
|
||||
net.ipv4.ip_forward = 0
|
||||
net.ipv4.conf.all.forwarding = 0
|
||||
net.ipv4.conf.default.forwarding = 0
|
||||
net.ipv6.conf.all.forwarding = 0
|
||||
net.ipv6.conf.default.forwarding = 0
|
||||
|
||||
# Disables IP source routing
|
||||
net.ipv4.conf.all.send_redirects = 0
|
||||
net.ipv4.conf.default.send_redirects = 0
|
||||
|
@ -178,13 +170,6 @@ net.ipv6.conf.default.accept_ra_defrtr = 0
|
|||
net.ipv6.conf.all.accept_ra_pinfo = 0
|
||||
net.ipv6.conf.default.accept_ra_pinfo = 0
|
||||
|
||||
# Do not auto-configure IPv6 on eth0
|
||||
net.ipv6.conf.eth0.autoconf = 0
|
||||
net.ipv6.conf.eth0.accept_ra = 0
|
||||
net.ipv6.conf.eth0.accept_ra = 0
|
||||
net.ipv6.conf.eth0.autoconf = 0
|
||||
net.ipv6.conf.eth0.accept_ra_defrtr = 0
|
||||
|
||||
###
|
||||
### TUNING NETWORK PERFORMANCE ###
|
||||
###
|
||||
|
|
|
@ -104,14 +104,6 @@ net.ipv4.tcp_syn_retries = 2
|
|||
net.ipv4.tcp_synack_retries = 2
|
||||
net.ipv4.tcp_max_syn_backlog = 4096
|
||||
|
||||
# Disables packet forwarding
|
||||
# Should be enabled for Docker
|
||||
net.ipv4.ip_forward = 0
|
||||
net.ipv4.conf.all.forwarding = 0
|
||||
net.ipv4.conf.default.forwarding = 0
|
||||
net.ipv6.conf.all.forwarding = 0
|
||||
net.ipv6.conf.default.forwarding = 0
|
||||
|
||||
# Disables IP source routing
|
||||
net.ipv4.conf.all.send_redirects = 0
|
||||
net.ipv4.conf.default.send_redirects = 0
|
||||
|
@ -178,13 +170,6 @@ net.ipv6.conf.default.accept_ra_defrtr = 0
|
|||
net.ipv6.conf.all.accept_ra_pinfo = 0
|
||||
net.ipv6.conf.default.accept_ra_pinfo = 0
|
||||
|
||||
# Do not auto-configure IPv6 on eth0
|
||||
net.ipv6.conf.eth0.autoconf = 0
|
||||
net.ipv6.conf.eth0.accept_ra = 0
|
||||
net.ipv6.conf.eth0.accept_ra = 0
|
||||
net.ipv6.conf.eth0.autoconf = 0
|
||||
net.ipv6.conf.eth0.accept_ra_defrtr = 0
|
||||
|
||||
###
|
||||
### TUNING NETWORK PERFORMANCE ###
|
||||
###
|
||||
|
|
Loading…
Reference in New Issue