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 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?
Yes, you can add the Ip in the allow list from the command line.
Open the file
At the bottom of the file you will have a entryroot@server [~]# vi /etc/hosts.allow
Above the quoted entry add the line so that WHM can be accessed from the home IPsshd : ALL : deny
Which will look likewhostmgrd : 10.10.10.1 : allow
Hope this helpswhostmgrd : 10.10.10.1 : allow
sshd : ALL : deny
Note :: Replace the IP 10.10.10.1 with your original machine's Ip
Chinmay
ESDS - Data Center in India
Can you let me know the entry at the bottom in the /etc/hosts.allow file on the server ? Or do you want to add the Ip in the csf firewall's allow list ?
Chinmay
ESDS - Data Center in India
My firewall was allowing my IP for SSH but blocking for WHM ports. Doh!