cannot access username.yourhda.com from outside my network

chaosarg
Posts: 12
Joined: Sat Jul 07, 2012 12:53 pm

cannot access username.yourhda.com from outside my network

Postby chaosarg » Sat Jul 07, 2012 1:21 pm

Hi I've been searching for this for hours, and although there are similar topics, I couldn't find any that solves my problem
I'm running Amahi on an Ubuntu 12.04 system, Amahi is configured as DHCP and DNS. DHCP is turned off on Router, the Router is set to get DNS automatically from the ISP (I'm not sure if that's the suggested setting).
Everything works perfectly inside my network, I can access Apps, Shares & Dashboard.
The problem is when I try to Access username.yourhda.com from outside my home network, after a while I get the message "The server is not responding". Also when I Ping username.yourhda.com or the IP address I get 100% packet lost.
Note: When I first installed Amahi I tried to disable DHCP on Amahi but it wasn't staying off so I went the other route and enabled it on Amahi and disabled it on the Router.
Not sure what am I doing wrong here

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby bigfoot65 » Sat Jul 07, 2012 2:19 pm

You have to forward internal port 80 on your HDA to an external port. The Dynamic DNS username.yourhda.com is not automatically on withour that step.

There is some guidance here that might help.
http://wiki.amahi.org/index.php/Hosting_a_website
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

chaosarg
Posts: 12
Joined: Sat Jul 07, 2012 12:53 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby chaosarg » Sat Jul 07, 2012 3:16 pm

Hi, thanks for your reply.
I had forwarded ports 80 and 443 on my router to the Amahi server's IP. I'm not sure if that's what you mean

[ Post made via iPhone ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby bigfoot65 » Sat Jul 07, 2012 3:50 pm

Yes, but you have to include the info as shown in the wiki for an app. Currently, only one app can be accessed outside your network per port.

Simply forwarding the ports on the HDA does not expose anything.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

chaosarg
Posts: 12
Joined: Sat Jul 07, 2012 12:53 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby chaosarg » Sat Jul 07, 2012 5:20 pm

ok I just did as the wiki says with one of the apps "ServerAlias username.yourhda.com" but I still get the error (on my phone browser, using 3g no WiFi, it says 502 Bad Gateway) also if I just wanted to access just the Amahi Dashboard do I still need to do this?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby bigfoot65 » Sat Jul 07, 2012 5:29 pm

Did you change username to match HDA on amahi.org? Could be a firewall issue. Apps don't work from dashboard remotely. Best to use VPN.

[ Post made via Android ] Image
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

chaosarg
Posts: 12
Joined: Sat Jul 07, 2012 12:53 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby chaosarg » Sat Jul 07, 2012 5:39 pm

yes I'm using my actual Amahi.org username, the only firewall running on my network that I can think of is the one that comes with the Router (Netgear WNDR3700) which I didn't change, unless Ubuntu is blocking me.
I'm trying to configure the VPN but I can't get it to work. I've already opened port 1194 on the router, but when I go to amahi.org and check it on the VPN checker it says "Inactive".
On the router should I set DNS Server 1 and 2 to the hda IP or leave on "Get from ISP"?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby bigfoot65 » Sat Jul 07, 2012 6:08 pm

Ok. Leave DNS alone for now. Might wanna check that your client is getting the DNS from the HDA and not the router.

As for the VPN checker, it may not always be right. I have seen a few that says inactive, but it was still working.

Maybe run the Network Troubleshooter and see if it yields any clues.

http://wiki.amahi.org/index.php/Network_troubleshooting
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wvdlee
Posts: 61
Joined: Wed Feb 25, 2009 9:19 am

Re: cannot access username.yourhda.com from outside my netwo

Postby wvdlee » Sun Jul 08, 2012 12:14 am

I'm trying to configure the VPN but I can't get it to work. I've already opened port 1194 on the router, but when I go to amahi.org and check it on the VPN checker it says "Inactive".
On the router should I set DNS Server 1 and 2 to the hda IP or leave on "Get from ISP"?
Did you do the Openvpn one-click-install? without this install the vpn will not work. It used to work out of the box, but apparently did become an option now.

I do not know a lot about DNS servers, but I think you should not change much on your router, only disable DHCP and forward port 1194 UDP to the internal IP of your HDA

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: cannot access username.yourhda.com from outside my netwo

Postby bigfoot65 » Sun Jul 08, 2012 7:32 am

That is a good point. Ubuntu does not have OpenVPN installed out of the box. Same is true for SSH. The app has to be installed to get the capability.

We probably need to mention that in the instructions.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 17 guests