LinuxMCE Forums

General => Users => Topic started by: fearingsept on November 26, 2008, 02:27:10 PM

Title: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 26, 2008, 02:27:10 PM
I decided that I want to access a web orbiter from my work. I went through the directions on the wiki and I cannot seem to get it working. I am wondering if someone might be able to give me some pointers.

I set the security setting in the admin page to Allow outside access to the website.
Then I went to the network settings and made sure to put in my user name and password as well as my URL from dyndns.org.

When I try to access my admin page from within my home using the URL it works but when I try from any other source outside my home network it times out.

Are there any firewall rules I need to set for LMCE and if so how?

I am not using any kind of router before my cable modem. Internet connection comes straight from the COX cable modem directly to my Core.

any pointers would be appreciated.

Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: nite_man on November 26, 2008, 04:00:42 PM
It should work without setting of Allow outside access. Your core should be accessible from outside. To do that you should configure your router - open port 80 or make port forwarding. The admin and web orbiter should be accessible from outside in that case.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 26, 2008, 04:33:26 PM
Is this something I need to do in the Admin web site?
Are there step by step instructions for the process.
I know these might sound like dumb questions but I just like to be clear so I don't mess anything up.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: freymann on November 26, 2008, 05:53:50 PM
Quote from: fearingsept on November 26, 2008, 04:33:26 PM
Is this something I need to do in the Admin web site?
Are there step by step instructions for the process.
I know these might sound like dumb questions but I just like to be clear so I don't mess anything up.

How do you have your system configured?

I go from the telephone wall jack to a DSL Modem, from the DSL Modem to a Router, from the Router to NIC1 on my Core.

For me to configure external access to the web orbiter, I had to add a port forwarder rule inside my Router (which is quite easy actually).

Most likely you need to do the same.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 26, 2008, 06:26:02 PM
QuoteHow do you have your system configured?

I have a cable modem. Cable company sends feed to modem I connect from the cable modem to my NIC in my core.  I have no router between them. Then from my Core's Second NIC I connect to my Gigabit switch which then connects to all my MD's and other computers.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: seth on November 26, 2008, 06:35:13 PM
 :D
I am set up very much in this way. I have Satellite internet modem connected to my core, and then everything else is connected to the second NIC. All I did was enable Outside Access, and then set up DynDns to update my dyndns domain address, so I connect to it using:

http://my.domain.com/pluto-admin/weborbiter.php

And I can get there just fine. I like to mess with the wife by turning lights on and off :P

But I did nothing else special other than that.

http://wiki.linuxmce.com/index.php/Image:Shot.jpg (http://wiki.linuxmce.com/index.php/Image:Shot.jpg)

When I had the modem to the linksys router, and then to the core. I just opened up a DMZ port to the core's ip address, and got the same thing.

Regards,

Seth
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: tschak909 on November 26, 2008, 06:59:46 PM
Holy shit, you've actually filled up the main menu.

:o

-Thom
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: freymann on November 26, 2008, 07:01:40 PM
Quote from: fearingsept on November 26, 2008, 06:26:02 PM
QuoteHow do you have your system configured?

I have a cable modem. Cable company sends feed to modem I connect from the cable modem to my NIC in my core.  I have no router between them. Then from my Core's Second NIC I connect to my Gigabit switch which then connects to all my MD's and other computers.

Ok, well, that helps some.

Your cable box is your connection to the internet and it likely provides your Core with an outside IP address via DHCP. In the pluto-admin area you can likely discover what your outside IP address is. Check Advanced > Network > Network Settings. Top of the screen.

It is very possible that your cable internet provider is blocking port 80 (and other ports) to prevent you from running servers. What you need to do is figure out what ports are available. If 80 is blocked you could always use 8080 instead perhaps?

You should also check Advanced > Network > Firewall Rules.

You need to open up port 80 in here. You might be able to do this easier under Wizard > Security > Outside Access.

   Allow outside access to the website on port 80     
   Allow outside access to the website on port [ ? ]

You can try a scan at Shields Up! to see if any ports on your system are currently open...

https://www.grc.com/x/ne.dll?bh0bkyd2

Basically you have two things to look at..

1) Does your cable internet block common port numbers?

2) Are those common port numbers (80 in the case of your web orbiter requirements) open on your core
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: freymann on November 26, 2008, 07:05:44 PM
Quote from: fearingsept on November 26, 2008, 02:27:10 PM
I set the security setting in the admin page to Allow outside access to the website.
Then I went to the network settings and made sure to put in my user name and password as well as my URL from dyndns.org.

Hmmm. Have you logged into dyndns.org to ensure the IP number for your domain is correct?

I didn't have any success using the built-in dyndns update function in the pluto web admin. I eventually gave up on it and just programmed the dyndns stuff in my linksys router and that is working out fine.

I guess that would be one other item to ensure is set up correctly for access from the outside via your dyndns domain.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: seth on November 26, 2008, 07:36:14 PM
 :)
Well my ip address does not change much, but when it does, LMCE updates it. I can always get there, and I know my IP has changed at least twice since I enabled it.

And Yes Thom, I like a full menu. The living room is the only one like this, the other rooms are pretty well stock. :)

Gotta love buttons.........


Regards,

Seth
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 26, 2008, 07:57:12 PM
QuoteIt is very possible that your cable internet provider is blocking port 80 (and other ports) to prevent you from running servers.

I think that you are most likely right. Cox is kinda a bitch like that. When I get home I will run the scan to see if I have any available ports.
So to pose another question. If I need to set up another port such as 8080, do I need to do anything my URL?

http://my.domain.com:8080/pluto-admin/weborbiter.php

Or when I use my URL will it find the open port automatically?
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: freymann on November 26, 2008, 08:03:16 PM
Quote from: fearingsept on November 26, 2008, 07:57:12 PM
QuoteIt is very possible that your cable internet provider is blocking port 80 (and other ports) to prevent you from running servers.

I think that you are most likely right. Cox is kinda a bitch like that. When I get home I will run the scan to see if I have any available ports.
So to pose another question. If I need to set up another port such as 8080, do I need to do anything my URL?

http://my.domain.com:8080/pluto-admin/weborbiter.php

Or when I use my URL will it find the open port automatically?

Yes, you'd adjust your url as you've indicated, adding the :8080 to the end....
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 26, 2008, 08:39:29 PM
Good deal.
Thank you.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 27, 2008, 06:23:27 AM
Just wanted to say thanks again to freymann and seth. I was able to get my web orbiter running after I set up another port.
Everything works great now.
Thanks again...

Dustin
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on November 29, 2008, 08:12:10 PM
One more quick question....
Is there a way to manage my files from outside my home?
For example, I have some media files that I want to upload.. maybe some pics or movie... or maybe I want to download some some of my mp3's from my core, is it possible to log in to some kind of file manager?
I was wondering if there is something already built in to LMCE for this.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: Zaerc on November 29, 2008, 08:48:06 PM
Open the ssh port and you can use sftp.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: freymann on November 30, 2008, 06:33:41 PM
Quote from: fearingsept on November 29, 2008, 08:12:10 PM
One more quick question....
Is there a way to manage my files from outside my home?
For example, I have some media files that I want to upload.. maybe some pics or movie... or maybe I want to download some some of my mp3's from my core, is it possible to log in to some kind of file manager?
I was wondering if there is something already built in to LMCE for this.

Hi. No, not without some 3rd party software...

You can reach the pluto-admin and mythweb web pages from the outside though...
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: hari on November 30, 2008, 06:38:54 PM
you can open port 22 and use ssh/scp/sftp for file operations.

br, Hari
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 01, 2008, 10:18:49 PM
So I went to the admin page>security>Outside access and checked port 22 for remote assistance. Now what do I need to do to log in with a FTP browser?
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 04, 2008, 02:48:04 PM
I am finally able to establish connection using ssh but my I cannot seem to get my user name and password to work. What should the user name and password be by default? Should it be the same as my admin page login?
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: tschak909 on December 04, 2008, 02:48:47 PM
Yes.

-Thom
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 04, 2008, 03:51:40 PM
Thank you :)
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 04, 2008, 06:16:02 PM
I have to be missing something... and/or I am retarded.
I have tried filezilla and gftp, I get as far as connecting and submitting the user and password info but then I get kicked out with an incorrect password.

Here are the steps I took,
I went to the admin page under Wizard/Security/Outside Access and checked "use port 22 for remote assistance"

Then I went to Advanced/Network/Firewall Rules and opened up port 22 just to make sure.

I have tried using sftp and ssh and I get just as far on both.
I put in the ip, set to port 22 put in my admin page user name and password. Makes connection with the server and then I get the following message.... Error: Authentication failed.
Error: Critical error
Error: Could not connect to server


What am I missing?
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: tschak909 on December 04, 2008, 06:29:21 PM
ssh does not use LMCE's account system, it only does system accounts.. what the hell are you trying to do? you're trying to do several different things!

-Thom
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 04, 2008, 06:40:40 PM
I am trying to gain access to my home folder remotely so that I can upload media to my core from an off site location... That way I can add my media from work instead of actually working.

I figured I could make it work as a FTP server... I have never set one up before so I really have no clue as to what I am doing.

Should I just give up?
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: tschak909 on December 04, 2008, 06:43:55 PM
you might want to look on the wiki for the Psych Desktop integration.

-Thom
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 04, 2008, 06:45:23 PM
Will Do...
Thanks
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: Zaerc on December 04, 2008, 09:20:29 PM
Quote from: fearingsept on December 04, 2008, 02:48:04 PM
I am finally able to establish connection using ssh but my I cannot seem to get my user name and password to work. What should the user name and password be by default? Should it be the same as my admin page login?
No it should be the username and password you created during the install, and for the dvd-install the username is linuxmce by default.
Title: Re: Setting up Outside Access to my Web orbiter.... Can't seem to get it working
Post by: fearingsept on December 04, 2008, 09:34:54 PM
That did it... Thank you oh so very much