description: For the unittests, hopefully no real script should look like this. ;) version: 1.0 proxies: - route: "DIRECT" description: take the direct route targets: - ".example.com" - route: "PROXY plain-hostname.example.com" description: a proxy for plain hostnames tags: - catch-plain-hostnames - route: "PROXY domain-overlaps.example.com" description: here domains overlap with the default route targets: - "example.com" - "foo.example.com" - "foo.example.net" - route: "PROXY ip-within-netmask-1.example.com" description: the ip is within the netmask targets: - "240.100.50.0/24" - route: "PROXY ip-within-netmask-2.example.com" description: the ip is within the netmask targets: - "240.100.50.3" - "240.100.51.0/24" - route: "PROXY netmask.example.com" description: a proxy for netmask tags: - foo targets: - "93.184.0.0/16" - route: "PROXY ip.example.com" description: a proxy for IPs targets: - "192.0.0.170" - "192.0.0.171" - "127.0.0.1" - route: "PROXY string.example.com" description: a proxy for string matches targets: - "10." - ".102.123" - "10" - route: "PROXY mixed.example.com" description: a proxy for mixed matches, this should be split up targets: - "example.net" - "bar.example.com" - "bar.example.net" - "20.10.10.0/24" - "130.131.132.133" - route: "PROXY default.example.com" description: take the default proxy route tags: - default