Dear all,
I have a squid box outside the Astaro and I want to make transparent proxy.
I want to know to set the rule and NAT in Astaro to make this happen.
I read n internet that in iptables we could do this like this:
iptables -t nat -A PREROUTING -i eth0 -s ! squid-box -p tcp --dport 80 -j DNAT --to squid-box:3128
iptables -t nat -A POSTROUTING -o eth0 -s local-network -d squid-box -j SNAT --to iptables-box
iptables -A FORWARD -s local-network -d squid-box -i eth0 -o eth0 -p tcp --dport 3128 -j ACCEPT
Is there any clue or documentation to make this happen?
Regards,
Fadjar
This thread was automatically locked due to age.