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