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

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


  • Subject: Re: [Openvpn-users] Question about using the server-mode to expose both the client and server's subnets (2 way)
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Fri, 30 Nov 2007 14:02:29 +0100

Sounds like you're almost there....

- is routing enabled on the client?
- does the subnet behind the client know that all packets coming from 
192.168.100.0/24 need to go thru the openvpn client? normally this is 
done by adding a route on the client's router to point 192.168.100.0/24 
to the openvpn client.

HTH,

JJK

Francis Joanis wrote:
> 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.
>
>
> Cheers,
> Francis
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>   

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users