Local IP -> VPN?

  • Thread starter Thread starter Bes
  • Start date Start date

Bes

Bes

Soldato
Joined
18 Oct 2002
Posts
7,318
Location
Melbourne
Hi

I have an HP micro server running OpenVPN.

Me and my brother live in separate houses but both have our local networks configured to be 192.168.1.xxx. We both have BT Home Hubs as routers.

My brother can connect to my VPN server fine, but cannot access any of my services, as they all sit on 192.X addresses, and, presumably, all traffic is being routed locally by his router.

Is there any way I can force certain local IPs to be routed via the VPN? Specifically he wants to access things like my Plex server (On my micro server) off his iPad.

Thanks
 
Why don't you just change one of the networks so it isn't using 192.168.1.nnn? Until you do I can't see you having much luck getting the traffic over the VPN.
 
Last resort but was hoping for a better solution really, but thanks, it might come down to that
 
So let's say my Plex server sits on 192.168.1.201, would I simply change his Home Hub's IP to something like 192.168.1.199 and change the subnet mask of the local network to only cover 192.168.1.001 - 192.168.1.200?
 
It still won't be able to route the traffic.

You could have changed the subnet and had it working by now. Any other option, even if it works, will be a nasty hack.
 
You'd usually need to look in the router's DHCP settings. With a Home Hub it's probably somewhere under settings/advanced.

Which version of the Home Hub do you have?
 
So would I just have to change my brother's home hub as follows?

Image is here

My Plex server sits on 192.168.1.214 on my local network, so once his on the VPN, it is outside the range of his local network now.

Will that work?

Thanks
 
I had a similar setup to you and I changed my end to be

192.168.0.1 subnet mask 255.255.255.0 then rebooted everything

My parents is 192.168.1.1 subnet mask 255.255.255.0

The site to site vpn then worked perfectly *jazz hands*
 
So would I just have to change my brother's home hub as follows?

Image is here

My Plex server sits on 192.168.1.214 on my local network, so once his on the VPN, it is outside the range of his local network now.

Will that work?

Thanks
I think you'll also need to look at the 'DHCP Network Range -> Configure manually' option further down that page.
 
I think the router should know not to assign an IP outside of its known range, but will do - thanks
 
You need to get that subnet changed.

I haven't hot a Home Hub, but it'll be something like:-

  1. Connect to the router using 192.168.1.254.
  2. Change the gateway IP to 192.168.0.254, leave the subnet mask at 255.255.255.0.
  3. Use the configure manually option to change the DHCP range to 192.168.0.64 - 192.168.0.253
  4. Apply the changes. At this point you'll loose your connection to the router.
  5. Refresh the PC's IP address (if in doubt reboot it).
  6. Reconnect to the router using 192.168.0.254 to check everything is okay.
  7. Make sure all your other devices refresh their IP addresses.
 
I had a similar setup to you and I changed my end to be

192.168.0.1 subnet mask 255.255.255.0 then rebooted everything

My parents is 192.168.1.1 subnet mask 255.255.255.0

The site to site vpn then worked perfectly *jazz hands*

This ^^^ especially the jazz hands bit is how to sort this out.
 
Back
Top Bottom