View previous topic :: View next topic |
Author |
Message |
rick0161 -
Joined: 01 Aug 2004 Posts: 4
|
Posted: Mon Sep 05, 2005 4:50 pm Post subject: Accessing console with Abyss on remote dedicated server |
|
|
I have installed Abyss on a VPS (on a remote server). How can I access the console, as the default settings allow access only to local addresses?
I guess by editing the conf file somehow to include my IP or is there a way using my OpenSSH Server access to the server?
Thanks. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Sep 05, 2005 5:59 pm Post subject: |
|
|
To allow remote console access you need to go into the console locally and change the console access preferences and tell it to allow all IP addresses or to allow a single one if the remote computers is static. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Mon Sep 05, 2005 6:07 pm Post subject: |
|
|
That doesn't really help when their question was about a server they don't have local access to.
Rick0161, I would suggest using OpenSSH's port forwarding to allow you to access the machine's console. You could even use this as your permenant access method to provide secure encrypted access to the console.
Are you using Linux or Windows on the workstation you have OpenSSH on?
Do you also have Abyss installed on your local workstation for testing, or only the remote server?
If you don't have Abyss installed locally, the following would set up an SSH tunnel from your local machine to the remote server, then tell the server to connect to itself on port 9999. This should appear to Abyss as a localhost connection, but if you type http://localhost:9999 in the browser on your workstation, it will traverse the tunnel and access the console on the server. If you use Abyss on your local workstation, you will need to either stop it, or choose an alternate port in the bold section of the line below.
ssh -L 9999:localhost:9999 -C -l yourusername
If you have problems with this, replace localhost with the actual IP of your remote server, although either should work. My SSH command line is a little rusty as I usually use Putty to set up my tunnels. If it doesn't work right off, you may need to examine the man pages and correct my line.
Hope this helps. _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
rick0161 -
Joined: 01 Aug 2004 Posts: 4
|
Posted: Mon Sep 05, 2005 6:20 pm Post subject: |
|
|
Thanks for the replies :-) I'm using CentOS Linux.
Do many people use Abyss on a dedicated server or VPS? Or mainly on a home PC? I have used it for some time at home (really love it) and this is the first time on a VPS. |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Mon Sep 05, 2005 7:04 pm Post subject: |
|
|
From the regular posters on the forum, I'd say it's about a 75/25 mix of non dedicated/dedicated, but I don't recall anyone mentioning having their actual dedicated server professionally hosted elsewhere with no local access.
If you have any problems with that SSH command just shout up - I'm assuming you've used it before for other remote admin so you should be happy enough just adding the port forwarding parameters... _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
rick0161 -
Joined: 01 Aug 2004 Posts: 4
|
Posted: Mon Sep 05, 2005 7:15 pm Post subject: |
|
|
As you probably know, a VPS is a dedicated server which is split, giving each person their own self contained resources. The ones at the cheap end have a quite limited amount of RAM (eg 64Mb).
Maybe Abyss is the ideal solution for running on a VPS like that, as it is so small and uses so few resources? |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Mon Sep 05, 2005 9:50 pm Post subject: |
|
|
rick0161 wrote: | As you probably know, a VPS is a dedicated server which is split, giving each person their own self contained resources. The ones at the cheap end have a quite limited amount of RAM (eg 64Mb).
Maybe Abyss is the ideal solution for running on a VPS like that, as it is so small and uses so few resources? |
My new VPS has very decent stats, its a 4 cpu machine with god knows how much ram. I run my irc daemons on it, but no web server as of yet apart from a single page on the apache server that came with it. _________________
 |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Sep 06, 2005 5:58 pm Post subject: |
|
|
rick0161 wrote: | Thanks for the replies :-) I'm using CentOS Linux.
Do many people use Abyss on a dedicated server or VPS? Or mainly on a home PC? I have used it for some time at home (really love it) and this is the first time on a VPS. |
This web site aprelium.com is hosted on a dedicated Linjux server powered by Abyss Web Server and we have no local access to it. It is in datacenter 1500 miles away from us. So we access the console remotely.
To allow that, enter the IP range of your ISP in the console allowed IP list. You can also add there * which means that the access will be allowed to any IP (by default it is only allowed for the LAN computers only).
If you are behind a router, you may also need to configure it to do the correct port forwarding for the console port. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Sep 06, 2005 6:00 pm Post subject: |
|
|
I think this is his problem, since he has no local access he cannot set the console to allow access from his remote IP address anyway. ;-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Sep 06, 2005 6:12 pm Post subject: |
|
|
The Inquisitor wrote: | I think this is his problem, since he has no local access he cannot set the console to allow access from his remote IP address anyway. ;-) |
You can edit abyss.conf file manually from the Linux terminal session (using SSH for example) and locate the lines between <console> and </console>. They should look like:
Code: | <console>
<port>
9999
</port>
<bindip>
*
</bindip>
<ipcontrol>
<order>
ad
</order>
<allow>
192.168.0.1-192.168.255.254
</allow>
<allow>
172.16.0.1-172.31.255.254
</allow>
<allow>
10.0.0.1-10.255.255.254
</allow>
</ipcontrol>
<language>
en
</language>
<login>
admin
</login>
<password>
14461b025d20a0456b03cc4d651ac0cc
</password>
</console>
|
Insert between <ipcontrol> and </ipcontrol> (in these lines):
Now the whole section will look like:
Code: | <console>
<port>
9999
</port>
<bindip>
*
</bindip>
<ipcontrol>
<order>
ad
</order>
<allow>
192.168.0.1-192.168.255.254
</allow>
<allow>
172.16.0.1-172.31.255.254
</allow>
<allow>
10.0.0.1-10.255.255.254
</allow>
<allow>
*
</allow>
</ipcontrol>
<language>
en
</language>
<login>
admin
</login>
<password>
14461b025d20a0456b03cc4d651ac0cc
</password>
</console>
|
Save the file and start Abyss Web Server. Now the console access should be granted for any computer.
By the way, to edit a file on a terminal session, you can use mcedit, vi, joe, or pico. Their availability depends on the distribution you're using. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|