bootstrap-rocky-10/install-squid.sh
Super User d459384258 1
2026-02-05 06:30:56 +02:00

25 lines
501 B
Bash
Executable File

#!/usr/bin/env bash
REPO_FILE_URL="https://www.ngtech.co.il/repo/rocky/ngtech-squid.repo"
wget "${REPO_FILE_URL}" -O "/etc/yum.repos.d/ngtech-squid.repo"
dnf install epel-release -y
crb enable
dnf install epel-release -y
dnf install iptstate conntrack iptables-services -y
#systemctl disable --now firewalld
dnf install squid squid-helpers -y
#cat <<EOF >/etc/sysctl.d/10-proxy.conf
#net.ipv4.ip_forward=1
#net.ipv4.conf.all.forwarding=1
#net.ipv4.ip_forward_use_pmtu=1
#EOF
#sysctl --system