Page 1 of 1

Changing Port 80

Posted: Fri May 25, 2012 3:13 pm
by rdagijones
I have 2 Amahi HDAs in our network. They are both listening on port 80. My portforwarding in my dd-wrt router looks like this:
  • Application___PortFrom___Protocol___IPAddress___PortTo
    HDA1________80________TCP/UDP__192.168.1.10__80
    HDA2________81________TCP/UDP__192.168.1.12__80
I can access HDA1 externally by means of hda1username.yourhda.com.
I can access HDA2 externally by means of hda1username.yourhda.com:81 and hda2username.yourhda.com:81.

Could this behavior lead to an explanation for why apps on hda2 do not resolve correctly externally?
If I changed HDA2's port to listen on 8080 and changed the portforwarding would that help?

Re: Changing Port 80

Posted: Sat May 26, 2012 4:00 am
by ciscoh
resolving the app names externally?

please elaborate....

Re: Changing Port 80

Posted: Sat May 26, 2012 4:23 am
by rdagijones
By "resolving the apps externally" I mean using an application on that server (in this case hda2) from outside the local area network. When I am at the office I access the shares of both servers by IP address, access the dashboard of both servers by IP address in a web browser and now I can access the applications installed on each server all within the building by going through the dashboard. But accessing the servers externally is another issue. I reach them by the method I describe above but the applications resolve to unknown web pages outside the network.

Re: Changing Port 80

Posted: Sat May 26, 2012 4:31 am
by ciscoh
you connect via vpn first, right?

Re: Changing Port 80

Posted: Sat May 26, 2012 9:59 am
by rdagijones
I connect to hda2 by means of hda1username.yourhda.com:81 and hda2username.yourhda.com:81 (not the actual usernames) by means of a web browser and then try to access an app. The apps then resolve outside websites, not to the apps.

Re: Changing Port 80

Posted: Sat May 26, 2012 5:20 pm
by ciscoh
what you are trying to do simply cannot be done.

the app name resolutions come from the built in DNS server in the HDA.

when you are outside your home network, you are not using that DNS server.

You need to connect to your home network using a VPN client.

Re: Changing Port 80

Posted: Tue May 29, 2012 6:25 am
by straightshooter1
Might I suggest a possible solution? While you would have to use VPN to properly connect first for the resolution to go through, you may want to use a virtual machine instead of the client locally on your computer, where ever that may be. This would keep your VPN off your work computer and more "secure".

Try using the LiveLinux USB creator to create a truly portable USB solution that can run on top of your existing Windows system, without reboot, dual-boot or any of that mess. You could simply install your VPN client within this VM and keep yourself super secure, not to mention, taking your desktop with you.

http://www.linuxliveusb.com/