chinmay

Well-Known Member
Jul 22, 2008
101
0
66
localhost
Yes, you can add the Ip in the allow list from the command line.

Open the file

[email protected] [~]# vi /etc/hosts.allow
At the bottom of the file you will have a entry

sshd : ALL : deny
Above the quoted entry add the line so that WHM can be accessed from the home IP

whostmgrd : 10.10.10.1 : allow
Which will look like

whostmgrd : 10.10.10.1 : allow
sshd : ALL : deny
Hope this helps ;)

Note :: Replace the IP 10.10.10.1 with your original machine's Ip
 

Infopro

Well-Known Member
May 20, 2003
17,085
518
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I need to access WHM from home, but I don't have my home IP in list of allowed IP's. I can SSH into my server. Is there a way I can update my list of allowed IP's from the command line?
I'm curious. You can SSH to the server but not get into WHM, why? Your IP shouldn't be blocked. If it was SSH wouldn't be reachable either.