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

Re: [Openvpn-users] Can openvpn server reach the subnet of client?


  • Subject: Re: [Openvpn-users] Can openvpn server reach the subnet of client?
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Mon, 19 Nov 2007 11:57:02 +0100

please read the HOWTO, section 'expanding the scope' on how to achieve 
this using the  'ccd' and 'iroute' statements:
  http://openvpn.net/howto.html#scope

HTH,

JJK

H.H. Ding wrote:
> My aim is:
> My client C is in a private network 10.0.0.0/8, It access internet via
> NAT. I want to access the private network my client is in. I have a host
> S which can access from internet.
>
> So, I run a openvpn server on S, and I run openvpn client on C. Then I
> can access C from S. The Address of S is 1.1.1.1/24, and I config ppp
> address of C in ccd  1.1.1.3 1.1.1.4.
>
> So, I try to add route: ip route add to 10.0.0.0/8 via 1.1.1.4 dev tun0
> and faild with RTNETLINK answers: Network is unreachable. Only chiose
> for me is: ip route add to 10.0.0.0/8 via 1.1.1.2 dev tun0. As after ip
> package pass the 1.1.1.2, the next hop is unknown and so that I can't
> reach the private subnet in C.
>
> Should I run another vpn on S to connect 1.1.1.3 as client to get full
> access of private subnet in C?
>
> Thanks for any advices.
>
> hhding
>
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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