2 replies
I do not know either of the Cisco devices, but doesn't NAT as a network function belong to the AS5300, not the cache server?
If you use the standard port 3128 in squid, the router device directing the incoming traffic from your dialup customers to the cache server running squid has to do port forwarding of port 80 to port 3128, or the client devices set port 3128 in their proxy settings.
by dimon_quaker
1) Use port-redirect to proxy server.
# iptables -t nat -A PREROUTING --src --dport 80 -j DNAT --to-dest :3128
where - you local network, ex. 192.168.55.1/24
2) Configure squid as transparent-proxy server.
Add this lines to "/etc/squid/squid.conf":
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending