curved-caravan-26314
06/20/2022, 4:41 PMsudo swapoff -a
sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
systemctl stop ufw
systemctl disable ufw
create file /etc/sysctl.d/90-rke2.conf
net.ipv4.conf.all.forwarding=1
net.ipv6.conf.all.forwarding=1
modify /etc/resolv.conf
nameserver from 127.0.0.53 to 8.8.8.8
search from <http://attlocal.net|attlocal.net> to <http://my.domain.com|my.domain.com>
hundreds-hairdresser-46043
06/21/2022, 4:01 PMcurved-caravan-26314
06/21/2022, 4:09 PMhundreds-hairdresser-46043
06/22/2022, 9:50 AMkernel.randomize_va_space=2
net.ipv4.ip_forward=0
kernel.sysrq=0
vm.panic_on_oom=1
kernel.dmesg_restrict=1
kernel.kptr_restrict=2
net.ipv4.conf.all.send_redirects=0
net.ipv4.conf.default.send_redirects=0
net.ipv4.conf.all.accept_source_route=0
net.ipv4.route.flush=1
net.ipv4.conf.all.accept_redirects=0
net.ipv4.conf.all.secure_redirects=0
net.ipv4.conf.all.forwarding=0
net.ipv4.conf.default.forwarding=0
net.ipv4.conf.all.log_martians=1
net.ipv4.conf.default.log_martians=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_syn_retries=5
net.ipv4.tcp_synack_retries=2
net.ipv4.conf.all.rp_filter=1
net.ipv4.conf.default.rp_filter=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.tcp_keepalive_time=300
net.ipv4.tcp_keepalive_probes=6
net.ipv4.tcp_keepalive_intvl=15
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
fs.suid_dumpable=0
net.ipv4.icmp_echo_ignore_all=0