Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid to specific gateway

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 298 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      aminbaik
      last edited by stephenw10

      Hello,
      is there anyway to make the squid requests routed through a specific gateway ?
      or is there anyway to make the squid transfer the client ip to getaway ?
      thanks.

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        You can set the outgoing source address for requests which will effectively set the gateway used.

        That is done using the tcp_outgoing_address directive in the custom options before auth field.

        You would need static IP(s) to use that though.

        Steve

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.