OpenVPN Client on Raspberry Pi

Associate
Joined
16 Mar 2004
Posts
1,927
Location
Oxford
I'm currently trying to build a VPN to a family members house using OpenVPN, the server side is setup on an Asus RT-N16 running TomatoUSB, devices can easily connect to this, so that side of things is all setup and running.

So, here's the questions:
  • Is it as simple as installing OpenVPN on the Pi, configure it as a client, connect it up on their network and then do static route on their router & forward port 1194 to the Pi?
  • My routers network is 192.168.1.xxx, theirs is 192.168.3.xxx. As the server is on my network my router shouldn't need any static routes as that is all dealt with by my router. Would theirs then need to be set as destination: 192.168.1.0 & gateway 192.168.3.Pi?
 
I'll work on a diagram tomorrow. The ultimate achievement here is access to each other's networks, for file sharing (I know there are cloud solutions for this), RDP, etc.

PS; it'll also help when I'm asked to provide technical support and can't be bothered to go round and fix something.
 
Here's the diagram:
LAN.jpg

I couldn't find a pic of the Pi, so a pie chart had to suffice!
As you can see the plan is to use my router (Asus RT-N16 - Tomato v1.28) as the VPN server - something it is already doing, my devices connect to it just fine when away.
I want to connect to their network using the Pi as the VPN client and use a routing policy on their router to send traffic to 192.168.1.xx through the Pi. It's a bit of a fun project, but will also allow for file sharing/backups, etc. & yes I know there are cloud solutions for this.
 
The Pi will have a static IP, presumably you mean forward the port on their router (1194)? And then setup a routing policy on their router.
 
Thanks for the thread revival!

I was looking at this again last week, it's for my auntie & uncle who have zero computer knowledge and I'm frequently asked to come round and fix stuff (also a bit of a fun project for me). They have an ADSL2+ connection at around 3Mb/sec. I've just discovered I've got a spare Openreach modem and Asus RT-N16 with Tomato, I might just set that up at theirs the same as I have setup here, and setup the router at their end as a VPN client. Using that modem might even get them a better sync speed.
 
Back
Top Bottom