making varnish listen ONLY on ipv6

Paul Mansfield paul.mansfield at taptu.com
Wed Aug 4 19:09:54 CEST 2010


On 04/08/10 16:17, Poul-Henning Kamp wrote:
> In message <4C59833E.7030406 at taptu.com>, Paul Mansfield writes:
>> I've fiddled with the -a option to see if it will accept an ipv6 address
>> to force binding only on ipv6, but varnishd didn't like it
> That should work, how do you specify the address ?

here's a snippet from the /etc/defaults/varnish file (ubuntu linux)


#DAEMON_OPTS="-a :8080 \
DAEMON_OPTS="-a 2001:4d48:2400:0:NNN:NNNN:NNNN:NNN:8080 \
             -T localhost:8082 \
             -f /etc/varnish/default.vcl \
             -S /etc/varnish/secret \
             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"


where NNN substitutes for the real host IP




More information about the varnish-dev mailing list