Here you'll find configuration for both ipv4/ipv6 accesses on some servers I personally use.
add to /etc/ssh/sshd_config:
ListenAddress ::
add this to your main lighttpd configuration file:
server.use-ipv6 = "enable" $SERVER["socket"] == "0.0.0.0:80" { # listen on all ipv4 interfaces. }
you'll have to run to different instances of vsftpd, one for ipv4, and one for ipv6.
listen=YES
listen=NO listen_ipv6=YES
Then run each instance separately:
# /path/to/vsftpd /etc/vsftpd.conf # /path/to/vsftpd /etc/vsftpd_ipv6.conf
compile ucspi-tcp (a.k.a. tcpserver) with ipv6 support.
for each “protocol” section in /etc/dovecot.conf, insert the following lines:
listen = *,[::] ssl_listen = *,[::]
of course, ssl_listen have to be used only if you use SSL version of the protocols (that is, imaps or pop3s).
remember that ipv6 needs icmp to work, so you have to enable it:
# ip6tables -A INPUT -p icmpv6 -j ACCEPT
remember that ipv6 needs icmp to work, so you have to enable it. add this to /etc/pf.conf:
pass proto ipv6-icmp all
as stated here, you need at least MySQL v5.5.x for ipv6 to work.