**This is an old revision of the document!**

My own ipv6 tips for servers

Here you'll find configuration for both ipv4/ipv6 accesses on some servers I personally use.

SSH

add to /etc/ssh/sshdconfig: <code> ListenAddress :: </code> ===== Lighttpd ===== add this to your main lighttpd configuration file: <code> server.use-ipv6 = “enable” $SERVER[“socket”] == “0.0.0.0:80” { # listen on all ipv4 interfaces. } </code> ===== vsftpd ===== you'll have to run to different instances of vsftpd, one for ipv4, and one for ipv6. * /etc/vsftpd.conf: <code> listen=YES </code> * /etc/vsftpdipv6.conf:

listen_ipv6=YES

Then run each instance separately:

# /path/to/vsftpd /usr/local/etc/vsftpd.conf
# /path/to/vsftpd /usr/local/etc/vsftpd_ipv6.conf

qmail

compile ucspi-tcp (a.k.a. tcpserver) with ipv6 support.

dovecot

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).