Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Disable IP Check on CyberPanel

July 2, 2024
in A, Blog, CyberPanel
0
ADVERTISEMENT

Table of Contents

In this article, we will disable the IP check function on CyberPanel. Why is there an IP check and in what cases to disable IP check?

IP check on CyberPanel

By default, when your IP accesses the CyberPanel admin page, CyberPanel will check your IP to set up a session. For example, when you use IP 1.1.1.1 to access CyberPanel, CyberPanel will check IP 1.1.1.1 to grant your browser a session with IP 1.1.1.1.

However, because your public IP is constantly changing, just press reload or perform an operation on CyberPanel immediately the session will be out because CyberPanel checks the IP when it is not 1.1.1.1 anymore but another IP like 2.2.2.2. You will then see a message as follows:

QNsJ04i7GcrV1cpFHCnR4vPmxpHheX8ULLQUxyLfdPe1MraUN6U2BmzrrF9g

This IP check is to improve the security of the server. Not only CyberPanel but on other controls like cPanel, DirectAdmin still has this function. However, during use, it will be difficult when you use a dynamic IP that changes constantly, making you unable to log in and use it.

Note Note: We doesn’t recommend disabling it. However, if you interfere while working and you need to disable it.

Disable IP Check on CyberPanel

1. To disable the IP check on CyberPanel, we first need to SSH into your VPS/server with root privileges

sudo su -

2. Backup the IP check file then open it using the nano editor:

cp /usr/local/CyberCP/CyberCP/secMiddleware.py /usr/local/CyberCP/CyberCP/secMiddleware.py.bak
nano /usr/local/CyberCP/CyberCP/secMiddleware.py

3. After opening the secMiddleware.py file, find and delete the lines from the try: paragraph to the pass line as shown below:

K1CP0dkF3TMarJaQl9AxledhECMM7ySYxBQdqRb6ONz6cRpqow3MRuaOcbhL

4. After deleting the paragraphs in the secMiddleware.py file. We need to restart the service to apply the change. You use the following command to start the service:

systemctl restart lscpd

Conclusion

Hope this article will help you disable this feature to work more smoothly. We don’t recommend disabling it due to security issues. However, sometimes it’s really annoying when your IP changes constantly, leading to not being able to log in to handle work.

5/5 - (1 vote)
Previous Post

How to Install GUI on Ubuntu Server

Next Post

How to Track Emails Though the Logs in MDaemon Email Server

Related Posts

Images Hidden Due To Mature Content Settings In CivitAI

August 31, 2024

Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

August 20, 2024

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024

How to Remove The Test Mode Watermark Without Disabling Test Mode

July 28, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory