#!/usr/bin/env bash dnf module disable squid -y cat < /etc/yum.repos.d/ngtech-squid.repo [ngtech-squid] name=Rocky Linux \$releasever - NgTech Squid Repo #mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=BaseOS-\$releasever baseurl=https://www.ngtech.co.il/repo/rocky/\$releasever/\$basearch/ gpgcheck=0 enabled=1 countme=1 EOF dnf check-update dnf install -y squid squid-helpers dnf install -y epel-release crb enable dnf install -y epel-release dnf install -y iptstate atop htop conntrack-tools curl jq wget iptables-services iptables-utils \ tcpdump systemctl disable firewalld --now cp -vf rules.v4 /etc/sysconfig/iptables cp -vf rules.v6 /etc/sysconfig/ip6tables systemctl start iptables systemctl start ip6tables systemctl enable iptables systemctl enable ip6tables