Update install.sh

main
trrgrnd 2024-08-12 08:07:25 +00:00
parent 3cfaedfab5
commit cd7cb4869f
1 changed files with 5 additions and 2 deletions

View File

@ -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 ]"