Cara setting captive portal di localhost - silahkan beli script simpe captive terlebih dahulu
$config['hostname']='localhost';
$config['username']='root';
$config['password']='';
$config['database']='simple';
$config['title']='simple';
/file set "hotspot/login.html" contents="<html>
<head>
<meta http-equiv=\"refresh\" content=\"0; url=http://serverkamu/?mac=\$(mac)&ip=\$(ip)&link-orig=\$(link-orig)&link-login-only=\$(link-login-only)&res=notyet&host=\$(server-name)&error=\$(error)&username=\$(username)\" />
<meta http-equiv=\"pragma\" content=\"no-cache\">
<meta http-equiv=\"expires\" content=\"-1\">
</head>
</html>"
Pesan Aplikasi Captive Portal disini