IPTABLES TRAFFIC PROXY SERVER - SQUID TRANSPARENT
Budget: $10 – $50 USD
IPTABLES TRAFFIC PROXY SERVER - SQUID TRANSPARENT
Necessary to configure "SQUID TRANSPARENT" and Iptables to connect proxy server.
This example iptables output traffic proxy server:
# Redirect HTTP traffic to the proxy server
sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination "$PROXY_IP:$PROXY_PORT"
PROXY_PORT="3130"
# Redirect HTTPS traffic to the proxy server
sudo iptables -t nat -A OUTPUT -p tcp --dport 443 -j DNAT --to-destination "$PROXY_IP:$PROXY_PORT"
Necessary to configure "SQUID TRANSPARENT" and Iptables to connect proxy server.
This example iptables output traffic proxy server:
# Redirect HTTP traffic to the proxy server
sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination "$PROXY_IP:$PROXY_PORT"
PROXY_PORT="3130"
# Redirect HTTPS traffic to the proxy server
sudo iptables -t nat -A OUTPUT -p tcp --dport 443 -j DNAT --to-destination "$PROXY_IP:$PROXY_PORT"