Page 1 of 3

VPN unable to see network resources other than hba

Posted: Thu Oct 18, 2012 7:45 am
by wrabe001
Hi,

I was able to setup OpenVPN to work successfully with HBA. I am assigned a 10.8.0.x ip address when connected with HBAConnect. My home network is 10.0.0.x.

I have a windows computer at home that I would like to access that is on my 10.0.0.x network, but I am unable to ping or connect to it via OpenVPN with a 10.8.0.x ip address. I have tried accessing all my network resources at home from VPN but I am only able to access the HBA.

Any ideas?

I have a dd-wrt router.

Re: VPN unable to see network resources other than hba

Posted: Thu Oct 18, 2012 1:04 pm
by bigfoot65
That is normal behavior. VPN only allows you to access the component it is installed on. If you want to access other devices, you will need to run a VPN server of some sort on them.

Re: VPN unable to see network resources other than hba

Posted: Wed Dec 05, 2012 7:32 am
by awaldram
Not strictly true.

Providing your amahi server is configured to forward then packets from the VPN will arrive at the other servers.
(http://www.ducea.com/2006/08/01/how-to- ... -in-linux/)

The issues is then the return packets will be delivered to your Default gateway not the tunnel endpoint.

so assuming your hda is 192.168.4.1 and your tunnel end point is 10.8.0.1 then something like

route add -net 10.8.0.0 netmask 255.255.255.0 gw 192.168.4.1

and you will have access to that server from your VPN.

Alternative

You can also add the redirect to your current default router providing it sophisticated enough to support it.
this will provide access to all you home LAN from the vpn

Re: VPN unable to see network resources other than hba

Posted: Wed Dec 05, 2012 8:10 am
by bigfoot65
Would you be willing to add some guidance to the wiki for this process? It would make it easier for users to understand.

Re: VPN unable to see network resources other than hba

Posted: Mon Dec 17, 2012 6:42 am
by sidjohn
Really its too sad :Oops: But you may try other service providers too...
OR you may check some configuration ? Rather you have to Re-install it again.

There are best vpn providers available all over the world....like Europe VPN. Many otehr VPN providers do exist but it depends on your choices.

Re: VPN unable to see network resources other than hba

Posted: Mon Dec 17, 2012 10:38 am
by bigfoot65
Huh?

No mention of reinstall, only making a modification to make it work.

Re: VPN unable to see network resources other than hba

Posted: Mon May 20, 2013 5:56 am
by tedstriker
I'd like to bump this post up.

I would like some more explanation on how to get this working.

I have recently updated from Fedora 14 to Ubuntu 12.04 and now my VPN won't let me get to my other machines.

On Fedora, I could use the VPN and the use Remote Desktop to access all of my windows machines on my network. Now I VPN in and can't even ping them.

There is something that has changed between the amahi configuration on the VPN between Fedora and Ubuntu.

I'm a novice to linux, but will be happy to provide any help I can.

Re: VPN unable to see network resources other than hba

Posted: Mon May 20, 2013 6:28 am
by bigfoot65
Does not do any good to bump a post. We'd appreciate if you would just ask the questions you have about the setup. Have you tried the guidance supplied here and in the wiki?

We realize the wiki guidance could use more explanation. We rely on the users to help us here. Not sure how much interest there is with this type of configuration, so it may take some time for you to get a reply.

Unfortunately I cannot help much with this one.

Re: VPN unable to see network resources other than hba

Posted: Tue May 21, 2013 5:31 am
by tedstriker
I thought I did ask my question. It is the same as the original poster.

What has changed in the one button installation of OpenVPN between Fedora and Ubuntu.

Using only the on click installation, in Fedora, when connected to the VPN, all network machines were accessible from the remote machine. Now with Ubuntu, only the HDA server is available. What has changed to limit the functionality in Ubuntu.

awaldram has part of the answer I think, but we need to turn that answer into something that is more novice friendly.

The answer to the question has to be in the install of the programs under the different distros. Because one works and one doesn't.

Re: VPN unable to see network resources other than hba

Posted: Tue May 21, 2013 6:28 am
by bigfoot65
I don't believe there was anything changed between the two distros. I will have to take a look and see what we can do.

Fedora 14 has OpenVPN integrated by default, so nothing to install. We separated it from the platform starting with Ubuntu. That might be the key as maybe something was overlooked.

I have not used VPN for anything other than accessing the HDA, so did not know there was a problem initially. Hopefully with a little help we can resolve this issue.