Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • VirtualBox
  • VMware
  • Windows
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
  • More
    • Office Deployment Tool
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • VirtualBox
  • VMware
  • Windows
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
  • More
    • Office Deployment Tool
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Disable IP Check on CyberPanel

May 14, 2023
in 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

Disk Usage or Bandwidth Usage Show 0MB in CyberPanel

Next Post

How to Track Emails Though the Logs in MDaemon Email Server

Related Posts

Ftr29

How to Fix Your Windows 7 System is Too Outdated Roblox Kb4534310 Error

May 26, 2023
Ftr5

How to Use Robocopy to Increase Copy Speed in Windows

May 17, 2023
Ftr32

How to Track Emails Though the Logs in MDaemon Email Server

May 16, 2023
cyberpanel

Disk Usage or Bandwidth Usage Show 0MB in CyberPanel

May 9, 2023
cyberpanel

How to Install CyberPanel on Ubuntu 22.04

May 5, 2023
cyberpanel

How to Change the Theme of CyberPanel

May 3, 2023

Leave a Reply Cancel reply

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

Recent Posts

  • How to Fix Your Windows 7 System is Too Outdated Roblox Kb4534310 Error
  • How to Use Robocopy to Increase Copy Speed in Windows
  • How to Track Emails Though the Logs in MDaemon Email Server

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

Socials

Twitter

Telegram

YouTube

Discord

Copyright 2023 © 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