Solved Whitelist locks me out of management webfront

Status
Not open for further replies.

Ayia Napa George

Premier Customer
Joined
Nov 4, 2018
Messages
78
Reaction score
10
Being a "clever admin", I locked down access to admin webfront by allowing only my public IP as management address.

Unfortunately, my fix IP got changed to a floating one, because of an error at Vodafone.
Cannot get back old IP, so I'm locked out of admin webfront.

I thought, no big deal, I might gain access through command line:
  • Restore initial backup... Already includes whitelist.
    OK, no solution, so next try:

  • Unzip a backup, modify .XML, zip it again and restore it.
    No solution either, as there's no documentation on how to create checksum which needs to be in "metadata".
There is already a thread "Modify 3CX Backup Zip", but it seems like 3CX is anxious that noobs like me might mess up their system by changing IPs in an XML....
I wonder, why this XML is so well documented, if nobody is allowed to do anything with it, except maybe retrieve lost admin password.....

So: What is the solution to this problem?
 
2 quick options:

1) Access it from another machine on same subnet (Admin Console by default allows all RFC1918 space)

2) If you can get a SSH session to the machine you can run the following:
Code:
ssh 'your-username' @ 'your-server-ip' -L 5001:localhost:5001
Then open a browser and navigate to https://localhost:5001
After logging in go to restrictions and add your new IP.
 
2 quick options:

1) Access it from another machine on same subnet (Admin Console by default allows all RFC1918 space)

2) If you can get a SSH session to the machine you can run the following:
Code:
ssh 'your-username' @ 'your-server-ip' -L 5001:localhost:5001
Then open a browser and navigate to https://localhost:5001
After logging in go to restrictions and add your new IP.
Bruh, I'm saving this.
 
You can do this also via the PuTTY interface that I know of:
1626165184303.png
 
1) Access it from another machine on same subnet (Admin Console by default allows all RFC1918 space)
Did the trick. You are the man ! Just tunneling 5001 was not on my mind last night....
 
  • Like
Reactions: NickD_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet