Hi,
It looks like you are preparing to setup a public wifi hotspot. Can you explain the 2 factor authentication you required ? Is that the authentication at the captive portal level ? Also, which version of CentOS - 6 or 7 ?
happy to discuss further, Thank You.