Code:
USE `logon`;
DROP TABLE IF EXISTS `ipbans`;
CREATE TABLE `ipbans` (
`ip` varchar(16) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Remote host',
`expire` int(30) NOT NULL default '0' COMMENT 'Expiry time (s)',
PRIMARY KEY (`ip`),
UNIQUE KEY `a` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='IPBanner';
as for the connect issue if you are trying to make it public check out port forwarding for you router brand then search on this board for which ports to forward