Softaculous


Topic : Locked out of my control panel!


Posted By: Rockman on June 28, 2020, 9:52 am
Not sure what i did, but I managed to block access to my webuzo control panel!Now all I see when I go to 
209.xxx.xxx.xxx:2002
209.xxx.xxx.xxx:2003 
209.xxx.xxx.xxx:2004
209.xxx.xxx.xxx:2005 
I just get a 404 error - Unable to connect. Though leaving off the port number takes me to my webpage without problems.I have a feeling that a long time ago, I blocked access to it from all IPs except mine - and now my IP has changed, so I can no longer get in lol!I have ssh access - and I think, all I have to do, is delete one small file to fix this - but I don't know which one - and there are a lot of files!I seem to remember this happening to me before, a long time ago, but I don't exactly remember how I fixed it, and I have searched google till I am almost crazy!Any help would be greatly appreciated - thanks!



Posted By: Rockman on June 28, 2020, 10:36 am | Post: 1
I'll just add, before someone tells me to try this - I tried the command 'service webuzo restart ', and Webuzo successfully restarted - but I still don't have access to the control panel!

Posted By: wolke on June 29, 2020, 9:30 am | Post: 2
easy fix:
login as root with ssh and add a rule to allow traffic to specific ports.
You may need to replace "eth0" with your network interface
Code
iptables -A INPUT -i eth0 -p tcp --dport 2002 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 2003 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 2004 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 2005 -j ACCEPT





Edited by wolke : June 29, 2020, 9:30 am

Posted By: salman on July 10, 2020, 6:14 am | Post: 3
Hi,

Are you still facing the issue, if yes please open a support ticket with us and submit the credentials so we shall check the issue for you.


Edited by salman : July 10, 2020, 6:14 am

Posted By: Rockman on July 10, 2020, 7:48 am | Post: 4
Thanks - but I contacted my hosting company, and they fixed it for me.

I'm not sure what they did - but it works now!

I tried the above fix, but it had no effect whatsoever. I typed it in, hit return and got no message whatsoever, error or otherwise - though I wasn't sure what 'replace "eth0" with your network interface' really entailed! I have no idea what my 'network interface' is, or how to find out - so I didn't try that! - maybe this fix could help someone else with a similar problem.

Thanks for the assistance.

Posted By: wolke on July 10, 2020, 9:26 am | Post: 5
How to find your network interface:

https://www.ostechnix.com/how-to-find-available-network-interfaces-on-linux/

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.