Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Multiple squid proxies on one server

    Posted on

    I'm trying to set up a squid proxy server that listens on two ports - each forwrarding to a different cache_peer. Is that possible? Something like...

    http_port 192.168.0.1:80 name=80
    http_port 192.168.0.1:81 name=81

    cache_peer proxy1.domain.local parent 80 0 default (for name=80)
    cache_peer proxy2.domain.local parent 80 0 default (for name=81)

    All other settings are universal including acl's and bypass_parent.

    acl localnet src 192.168.0.0/24
    acl bypass_parent dstdom_regex "/etc/squid/bypass_parent.txt"
    always_direct allow bypass_parent
    never_direct allow all

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.