Name

udp_incoming_address

Synopsis

This directive causes Squid to bind all UDP sockets to a specific interface address. The IP address must correspond to one of the system’s network interfaces. This directive affects the DNS (when using the internal implementation), ICP, HTCP, and SNMP sockets.

If your system has just one IP address, you probably shouldn’t use this directive.

If you set udp_outgoing_address to one of your other network interface addresses, Squid can receive UDP datagrams on that interface as well.

Syntax

udp_incoming_address ip-address

Default

udp_incoming_address 0.0.0.0

Example

udp_incoming_address 192.168.4.5

Related

udp_outgoing_address, icp_port, htcp_port, snmp_port

Get Squid: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.