Name
udp_outgoing_address
Synopsis
This directive specifies the source address for UDP messages that Squid sends. It affects DNS (when using the internal implementation), ICP, HTCP, and SNMP messages. The specified address must correspond to one of the system’s network interfaces. You should use this directive only if your system has multiple IP addresses.
The default value of 255.255.255.255 causes Squid to use the incoming address for sending, as well as receiving. In other words, rather than creating a separate UDP socket for sending, Squid sends and receives messages through a single socket.
If you use this directive, it must have a different value than udp_incoming_address. Squid can’t create two UDP sockets bound to the same IP address and port number.
Syntax | udp_outgoing_address |
Default | udp_outgoing_address 255.255.255.255 |
Example | udp_outgoing_address 192.168.5.6 |
Related | udp_outgoing_address, icp_port, htcp_port, snmp_port |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access