Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specifically, the following directive should be set unless you want Traffic Server listening on
every possible interface:

Code Block

LOCAL proxy.local.incoming_ip_to_bind STRING [2601:d:4880:53:426c:8fff:fe3a:43f1]

Also, the next directive will tell Traffic Server which ports to listen on:

Code Block

CONFIG proxy.config.http.server_ports STRING 8080:ipv6

...

This directive allows you to set which DNS servers Traffic Server should use.
Most likely you'll use your own, I'm using Comcast's DNS:

Code Block

CONFIG proxy.config.dns.nameservers STRING [2001:558:FEED::1] 75.75.75.75

...

To setup basic security in your Traffic Server install, you'll have to configure a different file,
by default /usr/local/etc/trafficserver/ip_allow.config. If you've ever done firewall
work the theory is very similar...simply list to Traffic Server what is allowed,
followed by what is NOT allowed.

Code Block

# Allow anything on localhost (this is the default configuration based on the
# depricated CONFIG proxy.config.http.quick_filter.mask INT 0x482)
src_ip=2601:d:4880:53:426c:8fff:fe3a:43f1         action=ip_allow method=ALL
# Deny everything else.
src_ip=0.0.0.0-255.255.255.255                    action=ip_deny  method=ALL
src_ip=::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff action=ip_deny  method=ALL

...

The Apache Traffic Server default install configures this to be 256MB, a rather small size
as is noted in the configuration file. I eventually went with 3GB32GB. The following is found in the
config file /usr/local/etc/trafficserver/storage.config.

Code Block

var/trafficserver 3G32G

Start It Up!

Once the above has been completed, it's time to give it all a try.

Code Block

sudo /usr/local/bin/trafficserver start

...