After much effort, I connected to my hda over vpn. I was able to login, get to the home page and even ssh via a terminal.
How do I get to my apps over the vpn connection?
Entering http://appname results in a google page telling me that it can't find the URL. I assume this is because when I login over vpn, dns is provided by the LAN that I'm using to obtain internet service, not the hda. Entering the tcp address of the hda (as in 192.168.0.10/appname) also failed. The ip address of the machine from which I vpn'd was 192.168.1.192
accessing apps over vpn
Re: accessing apps over vpn
What browser are you using? If it's Chrome use Firefox. I have the same trouble with Chrome.
It doesn't resolve the DNS correctly because it thinks you want to search google with a word.
It doesn't resolve the DNS correctly because it thinks you want to search google with a word.
-
- Posts: 46
- Joined: Wed Jul 06, 2011 4:01 am
Re: accessing apps over vpn
I tried both Chr and FF. Neither got me to the app. For FF, entering http://appname took me to hda/setup?sub=installed&tab=app, which is the apps setup page. Are you saying that entering http://appname should take me to the login page for that app?
Re: accessing apps over vpn
It depends on what app you're using. Could you provide more information?
-
- Posts: 46
- Joined: Wed Jul 06, 2011 4:01 am
Re: accessing apps over vpn
gallery 2 and extplorer to start with.
Re: accessing apps over vpn
With my VPN activated, the way it works for me is by the following:
http://transmission.home.com/transmission/web/
http://phpmybackup.home.com/
home.com being my home domain.
http://transmission.home.com/transmission/web/
http://phpmybackup.home.com/
home.com being my home domain.
-
- Posts: 5
- Joined: Thu Feb 17, 2011 6:36 am
Re: accessing apps over vpn
I have a similar issue.. just installed IPSec-VPN app and then setup iphone 4 with the settings.. It connects to the VPN and i get the vpn symbol to show the connection.. i then go to the safari browser and no matter what i put before .home.com it goes to the internet home.com instead of the intranet addy.. i tried to also use the local ip of a running app i have on another port to directly try get to it (eg. 192.168.2.10:8085) but it just times out.. it seems the vpn assigns the phone an ip in the 10.x.x.x range and maybe it cant jump across..
has anyone else connected with iphone 4 vpn with ipsec and got webapps to work?
has anyone else connected with iphone 4 vpn with ipsec and got webapps to work?
Re: accessing apps over vpn
Hi,
Sorry for the delay in replying - I've only just noticed this post. I've been using iPhones and iPads with IPSec on a daily basis for a while now, so I can confirm that it works in principle. The IPSec VPN needs to allocate IP addresses that are different from your local network for a variety of reasons and does so by design. When the IPSec VPN connects, it adds a masquerade rule into the iptables config on your HDA box so that you can access the local network.
It's possible that something's gone wrong with the installation process on your HDA; could you try uninstalling and reinstalling first? If that doesn't help, we're going to need a bit more information to track this one down:
1. What versions are shown in the system info page on your HDA (Setup -> Settings -> Settings)
2. Is there anything unusual about your network config, e.g. more than one ethernet card etc?
3. Have you successfully used the basic OpenVPN arrangement that's built into Amahi? (Noting that it won't work with iOS)
4. Have you previously installed anything manually (such as racoon or a firewall) or tweaked any network related sysctls?
5. Can you post, PM or fpaste the contents of /etc/racoon/racoon.conf, /etc/named.conf and the output of 'sysctl -a'?
Cheers,
DF.
Sorry for the delay in replying - I've only just noticed this post. I've been using iPhones and iPads with IPSec on a daily basis for a while now, so I can confirm that it works in principle. The IPSec VPN needs to allocate IP addresses that are different from your local network for a variety of reasons and does so by design. When the IPSec VPN connects, it adds a masquerade rule into the iptables config on your HDA box so that you can access the local network.
It's possible that something's gone wrong with the installation process on your HDA; could you try uninstalling and reinstalling first? If that doesn't help, we're going to need a bit more information to track this one down:
1. What versions are shown in the system info page on your HDA (Setup -> Settings -> Settings)
2. Is there anything unusual about your network config, e.g. more than one ethernet card etc?
3. Have you successfully used the basic OpenVPN arrangement that's built into Amahi? (Noting that it won't work with iOS)
4. Have you previously installed anything manually (such as racoon or a firewall) or tweaked any network related sysctls?
5. Can you post, PM or fpaste the contents of /etc/racoon/racoon.conf, /etc/named.conf and the output of 'sysctl -a'?
Cheers,
DF.
Who is online
Users browsing this forum: No registered users and 5 guests