View previous topic :: View next topic |
Author |
Message |
Power -
Joined: 13 Apr 2008 Posts: 11
|
Posted: Tue Apr 22, 2008 10:41 am Post subject: How to block remote access from the Internet? |
|
|
I want to make my Abyss is working only in my local network and block remote access over the Internet. How to do that? |
|
Back to top |
|
 |
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Tue Apr 22, 2008 2:51 pm Post subject: |
|
|
Bear with me, it's been a while since I've done this...
First Option:
1) You're behind a router, do not port-forward it.
Second Option:
1) If you're running php, have it check it like this:
if ($_SERVER['REMOTE_ADDR']!="(Your home IP here)")
{
die;
}
or the Last Option:
You'll have to go into the Abyss control panel and change the allow/deny order on the allowed IP addresses...This is what I barely remember. Try the other options first, and by that time somebody will have posted what I'm talking about here. _________________ Audit the secure configuration of your server headers! |
|
Back to top |
|
 |
Power -
Joined: 13 Apr 2008 Posts: 11
|
Posted: Tue Apr 22, 2008 3:26 pm Post subject: |
|
|
Toasty wrote: | or the Last Option:
You'll have to go into the Abyss control panel and change the allow/deny order on the allowed IP addresses...This is what I barely remember. Try the other options first, and by that time somebody will have posted what I'm talking about here. |
I want the last option, but I don't know how to allow access only for my local computers...? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Apr 22, 2008 4:28 pm Post subject: |
|
|
Power wrote: | I want the last option, but I don't know how to allow access only for my local computers...? |
Add an IP access rule for virtual path / (a single slash which means that it will apply to all your Web site), set the order to "Allow/Deny", and enter in the "Allowed IP addresses" the following IP ranges:
Code: | 127.0.0.1
192.168.0.1-192.168.255.254
172.16.0.1-172.31.255.254
10.0.0.1-10.255.255.254 |
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|