To connect to kad, you should first get a nodes.dat file. That is acomplished by connecting first only to ed2k network, and after you connect to some clients via ed2k, you will have a bootstrap list of clients to connect to kad. Also, be sure to forward the UDP port, since kad uses it to communicate.
Regards.