Control Web Panel

Developers => Suggestions => Topic started by: Automata on June 06, 2019, 01:53:29 AM

Title: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: Automata on June 06, 2019, 01:53:29 AM
Hi,

First of all i wish to congratulate all the programmers of both CWP (Centos Web Panel) and CWP (Centos Web Panel) PRO for the excellent work they do and for the excellent product they have created, truly excellent from all points of view.

Having said that, i ask you to consider the implementation in CWP (Centos Web Panel) of Two-Factor Authentication (2FA) - Google Authenticator both for the Administrative part and for the User side.

I know you are always very busy developing CWP but i hope you can consider this suggestion of mine which i believe would be appreciated by all users of CWP (Centos Web Panel) and CWP (Centos Web Panel) PRO !

Thanks.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: evansa on June 07, 2019, 09:43:08 PM
suggestion noted.

The development team will look into this
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: Automata on June 10, 2019, 10:14:23 PM
suggestion noted.

The development team will look into this

Hi "evansa" and thanks for the support.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: evansa on June 13, 2019, 07:34:26 AM
You are welcome :)
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: iChaseCorals on July 21, 2019, 05:03:25 AM
Hello and thank you for the awesome development of this product! I specifically registered to 2nd this suggestion. I use Authy for all my high priority logins and this would be an appreciated addition.

Thank you
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: ring_c on August 09, 2019, 06:31:08 AM
Any idea if 2FA is already developed?
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: Automata on October 09, 2019, 01:30:12 AM
suggestion noted.

The development team will look into this

Hi "evansa", you have any news for this request ?

Thanks in advance for the support.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: indomito on December 06, 2019, 07:19:38 AM
Hi, just registered to support this suggestion
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: Automata on December 28, 2019, 01:14:26 AM
suggestion noted.

The development team will look into this

 :) Hi "evansa", you have any news for this request ?

Thanks in advance for the support.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: PeteB on January 18, 2020, 09:58:14 PM
Hi all.  All the best for the new year.

Just adding my voice to this request - yes please.  No longer a luxury, I think.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: rcschaff on February 13, 2020, 07:49:16 AM
I released a module of you all would like to try it out.  Check the modules board.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: josemnunez on February 13, 2020, 12:27:40 PM
This will be very soon in the user panel and admin!
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: rcschaff on February 13, 2020, 03:20:08 PM
Seen that for almost 2 years.  No offense.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: ring_c on September 10, 2020, 06:45:23 AM
This will be very soon in the user panel and admin!
How soon is this very soon from February?
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: uk-web-services-ltd on October 01, 2020, 07:14:53 PM
Any news on this one chaps/chap-ettes?  ;D

This would be highly beneficial....

Regards
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: gossy on October 19, 2020, 05:42:57 AM
How I will enable 2FA for admin ( root)?
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: wshosted on December 02, 2020, 08:41:48 PM
I too am interested in a 2FA option for admin. I realize it is available for the user panel. A bit surprised not for the admin, which I would have lot to be a higher priority.

Thanks for all you do, I am very new to the CWP world, but really appreciating what I see so far.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: TheQuantumPharaoh on April 02, 2021, 06:58:41 PM
Is this still not possible for the CWP admin panel?
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: rcschaff on April 04, 2021, 07:00:56 AM
If you truely want to secure your CWP Admin interface, do the following.

Setup DDNS somewhere (No-ip is a good free version)

edit /etc/csf/csf.dyndns   and add your ddns hostname there
edit /etc/csf/csf.conf
find DYNDNS   set it to a value of 600 (10 minutes)  DYNDNS="600";
find DYNDNS_IGNORE = "0"  and change it to 1

On TCP_IN and TCP6_IN, remove port 2086,2087,2030,2031.

then restart csf.  csf -r

You can still login to CWP as long as your match your dyndns, as it allows you through the firewall on all ports.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: sgchan on April 18, 2022, 01:39:46 PM
If you truely want to secure your CWP Admin interface, do the following.

Setup DDNS somewhere (No-ip is a good free version)

edit /etc/csf/csf.dyndns   and add your ddns hostname there
edit /etc/csf/csf.conf
find DYNDNS   set it to a value of 600 (10 minutes)  DYNDNS="600";
find DYNDNS_IGNORE = "0"  and change it to 1

On TCP_IN and TCP6_IN, remove port 2086,2087,2030,2031.

then restart csf.  csf -r

You can still login to CWP as long as your match your dyndns, as it allows you through the firewall on all ports.

I've done all of the above EXCEPT remove ports 2086, 2087, 2030, and 2031 (playing it cautious). The system is giving me "Not Found" when I go to HTTPS://<hostname>/login/index.php

Any quick advice?
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: rcschaff on April 18, 2022, 06:15:34 PM
Use https://hostname:2031

It's possible the proxy get's broken.

YOu can also add your hostnames IP to the /etc/csf/csf.allow, but I believe that will open up the system to the possibility of brute force attacks again
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: sgchan on April 22, 2022, 03:33:25 AM
Use https://hostname:2031

It's possible the proxy get's broken.

Pardon my ignorance but isn't port 2031 supposed to be closed? Isn't that the idea for using DynDNS?
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: rcschaff on April 22, 2022, 12:30:16 PM
2031 is closed to all traffic not "ALLOWED" through the firewall.  By having a DDNS address in the allow list, you are bypassing the firewall.

Ports 443, and 80 are run by different software than all of the other ports.  Therefor, if you don't add the port on the end of the URL, those softwares don't know how to route them to cwpsrv.
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: sgchan on April 23, 2022, 04:40:26 AM
Noted with thanks!
Title: Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
Post by: max on August 17, 2023, 12:27:36 AM
Long time I see nobody posted but I have a bit of an issue that seems to have started after centos7 updates.

had errors so I found the uninstaller you made yo remove cwp_2fa but not xxx:2087/login/index.php not found.