ipv6 web proxy

Yesterday, i thought, what a pitty, this blog has no AAAA record and no ipv6 address. As it is hosted on a FreeBSD jail and the host is neither patched for ipv6 jails nor has an ipv6 connection, i had to find an other solution.

I have a VM with a 6to4 tunnel running lighttpd, so i let the AAAA record for this blog point on that machine, enabled the proxy module and added following config to the proxy configuration:

$HTTP["host"] == "blogs.k-ita.de" {
  proxy.server  = ( "" => ( ( "host" => "80.237.196.30" ) ) )
}

It’s not the cleanest solution, but it works for me[TM].

This entry was posted in network, software and tagged , , . Bookmark the permalink.