Update install.sh
parent
3cfaedfab5
commit
cd7cb4869f
|
@ -5,8 +5,11 @@ print_ylw(){
|
|||
}
|
||||
|
||||
print_ylw "[ ipv6 turn off ]"
|
||||
sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||
sysctl -w net.ipv6.conf.default.disable_ipv6=0
|
||||
cat << EOF >> /etc/sysctl.conf
|
||||
net.ipv6.conf.all.disable_ipv6=0
|
||||
net.ipv6.conf.default.disable_ipv6=0
|
||||
net.ipv4.ip_forward=1
|
||||
EOF
|
||||
sysctl -p
|
||||
|
||||
print_ylw "[ sshd_config backup ]"
|
||||
|
|
Loading…
Reference in New Issue