Current time: 11-27-2024, 02:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
HOW TO block direct ip access to ispcp?
Author Message
nardev Offline
Newbie
*

Posts: 6
Joined: Apr 2011
Reputation: 0
Post: #1
HOW TO block direct ip access to ispcp?
Hello,

i'm new here and new with ispcp.

it seems to be very simple easy and jet powerful tool. And i Love it!

But here is my first problem. How to block direct access when i type IP address of my server?

and allow access only from certain port like cpanel has 2082

so i want to block access and to protect my server if someone try
http://10.50.10.10 but i want to be able to access ispcp at for example http://10.50.10.10:2050

i know that i must be some apache config rule but i don't want to play around too much so that i don't make mess on current configuration.

thank you.
04-09-2011 05:00 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: HOW TO block direct ip access to ispcp?
First of all, you should understand that simply changing the port provides no real security benefit.

That being said, also keep in mind that if you change the port you will have to use the new port when accessing the panel using a hostname too (i.e: http://admin.mydomain.tld:2082).

Finally, if you still want to do this it is a pretty simple 2-step process:

1. Change the port in the "<VirtualHost" directive of the file /etc/apache2/sites-enabled/00_master.conf.
2. Add the new port to the /etc/apache2/ports.conf file.

Restart apache and the panel should have moved.
04-14-2011 04:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
nardev Offline
Newbie
*

Posts: 6
Joined: Apr 2011
Reputation: 0
Post: #3
RE: HOW TO block direct ip access to ispcp?
(04-14-2011 04:54 PM)kilburn Wrote:  First of all, you should understand that simply changing the port provides no real security benefit.

That being said, also keep in mind that if you change the port you will have to use the new port when accessing the panel using a hostname too (i.e: http://admin.mydomain.tld:2082).

Finally, if you still want to do this it is a pretty simple 2-step process:

1. Change the port in the "<VirtualHost" directive of the file /etc/apache2/sites-enabled/00_master.conf.
2. Add the new port to the /etc/apache2/ports.conf file.

Restart apache and the panel should have moved.

Well, i realized that first place. But what do you suggest me to do?

What is typical configuration that you do?
04-14-2011 05:43 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)