Unban Yourself from Nuke Sentinel
It is a very common mistake for new website owners to ban their self with nuke sentinel. I have done it countless times and it can be sort of scary trying to figure out how to unban yourself.
Today I am going to show you how to unban yourself manually in just a few short steps. When sentinel bans you from your website it happens in two places.
- The database table (nuke_nsnst_blocked_ips)
- The .htaccess in your nuke root
1. Your Ip
The very first thing we need to do is find out what you IP, because that is your social security number for the internet. If you don’t know it off the top of your head you can use a free service like whatsmyip.org
2. Lets remove your IP from the Database
I can not really guide you through getting to phpmyadmin or your similar too, because everyone’s could be different. If your host is using cpanel you can find it in the main menu or under the mysql database icon.
Once your in phpmyadmin and you have selected your nuke database. You need to find the nuke_nsnst_blocked_ips table.
Once you have found the nuke_nsnst_blocked_ips table you want to click the browse icon just to the right of the table name.
Noob Note: The main goal here is just to browse the contents of the nsnst_blocked_ips table. You can scroll the far left pane to find the table name faster, but at the end of the day we just want to see the contents of the table.
After you can see the contents of the nuke_nsnst_blocked_ips table, we want to sort them so we can find your IP faster. What you want to do is sort the table contents by Date (descending) since you were one of the last entries.
After the page reloads, your IP should be listed somewhere very close to the top. All you have to do is click the red x icon to delete that record from the database. Now lets remove your IP from the .htaccess.
3. Removing Your Ip from the .hatccess
Using your ftp software download your .htaccess from your nuke root to your desktop. Using some type of editor (notepad plus if you have nothing else) open the .htaccess you just downloaded. Down towards the very bottom you are going to find a very long list of ip of addresses. Yours should be one of the last few at the bottom of that list.
Noob Note: Depending on well you setup your sentinel in the first place. You might not have to do this step. If you sentinel is setup properly though it should be required to remove your ip from the .htaccess.
deny from 127.0.0.1
Save and Reupload your .htaccess with your IP removed. You should be able to access your site again now. If you can not review the above steps again.
4. Preventing Nuke Sentinel from Banning the Admin
Preventing this from happening again is pretty easy. Basically the only thing your gonna do is add your IP to the protected range list.
In your nuke sentinel admin section click Protected Range Menu -> Add Protected Range
All you have to do is select your country and add the proper ranges for your IP. If your IP was 127.0.0.1, then your ranges would look like 127.0.0.0 to 127.0.0.1.
That is all there is too it.