Jump to content

VPN Gateway Question


M0XIE

Recommended Posts

Using PIVPN, I configured openvpn on a Raspberry Pi at home. As far as I can tell ( I'm new to openVPN ) there is no administration GUI when installing openvpn on the pi.

I have a couple locations I work from: home, lab, office, remote. My overall plan for setting up openVPN is to allow me to access each of the network when I am at other networks or remote. I came across 'Introducing the LAN Turtle' video by Hak5 on youtube and I can see they configured the LAN Turtle to act as a VPN Gateway and this grants that kind of access. However, they were able to do so by using the web gui.

How would I configure a VPN Gateway on clients without using the web gui?

 

Link to comment
Share on other sites

I did some digging today and I think I found some documentation to get me going in the right direction: https://community.openvpn.net/openvpn/wiki/RoutedLans

However, the problem is one of the networks is in the process of being converted from a 192.168.0.1/24 to a 10.1.0.0./22 with half the network on each network. My primary network (home) is also a 192.168.0.1/24 network.

I'm not home right now, but I assume if I change my home network to 192.168.1.0/24 I can just add the following to my server.conf:

route 10.1.0.1 255.255.252.0

push "route 10.1.0.1 255.255.252.0"

This should let my home network view the work lan. I think. I am posting this here for someone to point out that I am probably wrong on something.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...