Convert squid to router
This commit is contained in:
parent
9f190fcb42
commit
5f4b854a17
@ -14,3 +14,11 @@ dnf install htop iptstate conntrack iptables-services -y
|
|||||||
systemctl disable --now firewalld
|
systemctl disable --now firewalld
|
||||||
|
|
||||||
dnf install squid squid-helpers -y
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user