Can't access other network machines via VPN

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

Can't access other network machines via VPN

Postby dinomic » Sat Apr 30, 2011 2:55 pm

From my Win 7 x64, I'm able to connect to my Amahi box remotely via VPN. However, I can't access any other machines or the router's web console.

Basically, my network uses an IP range of 192.168.1.x. When I connect via the HDAConnect VPN client, I get served back an IP in the range 10.8.0.x.

So, when connected via VPN, I try to tracert to any of the other machines on the home network, and the names get resolved to the right (fixed) IPs, but the tracert falls over after the HDA node (which is using an IP in the 10.8.0.x range).

Prior to using Amahi, I had set up a VPN using my Server2008R2 machine, and this was serving back IPs in the same range as the network, and all worked well. So could this (ie being served back an IP that is not in the same range as the home network) be the issue when trying to access other machines via an Amahi VPN connection??
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

tomdchi
Posts: 1
Joined: Mon Dec 26, 2011 1:09 pm

Re: Can't access other network machines via VPN

Postby tomdchi » Mon Dec 26, 2011 1:12 pm

I know this is a bit old but here is the answer for anyone that has found this thread through google. You need to follow directions at http://wiki.amahi.org/index.php/VPN_Bridging.

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

Re: Can't access other network machines via VPN

Postby dinomic » Mon Dec 26, 2011 4:12 pm

I know this is a bit old but here is the answer for anyone that has found this thread through google. You need to follow directions at http://wiki.amahi.org/index.php/VPN_Bridging.
I wish I hadn't tried that page, now! In the code suggested for openvpn-startup, it has a hard-coded reference to "eth0", which is dead on my machine. I didn't notice this until it completely killed all my networking! (Also, I don't like the idea of the client's HDAConnect file needing to have a hard-coded IP in it - why can't the server supply this?).

I've now changed openvpn-startup to refer to "eth1", but whenever I restart the openvpn service, it complains. Also, when connecting from a client, the log in HDAConnect bounces around with "waiting for TUN/TAP interface tocome up..." for a few times, and then eventually connects "normally", but on a 10.8.0.x range.

I wish I'd stuck to Win2008R2 providing my VPN now. Can't really go back, because the IP ranges are controlled by the HDA now, and the HDA doesn't provide the same flexibility for DHCP ranges as do some routers.
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

Who is online

Users browsing this forum: No registered users and 10 guests