[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Question about using the server-mode to expose both the client and server's subnets (2 way)


  • Subject: [Openvpn-users] Question about using the server-mode to expose both the client and server's subnets (2 way)
  • From: "Francis Joanis" <francis.joanis@xxxxxxxxx>
  • Date: Fri, 30 Nov 2007 07:58:38 -0500

Hi all,

I am trying to use openvpn to expose a client's LAN to a server's LAN
and the other way around as well. For example, the client being on
172.22.0.0/255.255.255.0 and the server being on
192.168.100.0/255.255.255.0, I would like to be able to:

- From the client, access the 192.168.100.x subnet that is on the
other side of the VPN
- From the server, access the 172.22.0.x subnet that is on the client's side

I am using openvpn 2.0.9 on Mac OS X 10.4.x and (using the sample
server.conf file) I've been able so far to gain access from my client
to the server's subnet but not the other way around.

I tried adding a client configuration file with an "iroute 172.22.0.0
255.255.255.0" line into it. That enabled me to ping/access the
client's ip address on the 172.22.0.0 subnet, but nothing else (I
wasn't able to ping other ip addresses on that subnet).

I haven't tried the client to client mode yet, hoping that I would be
able to use the server mode instead. I'm currently playing around with
my server.conf file, I'll post it here (if required) once I get it
back on track.

I'd like to know if what I am trying to accomplish can be done and any
pointers would be appreciated.

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users