contact rajnish
On 1/9/06, arvind kumar <[EMAIL PROTECTED]> wrote:
>
> Hello friends,
>
> I am in a problem. Pls help me out.
>
> I am using openvpn 2.0. My OPENVPN client is able to connect my OPENVPN
> server's all IP i.e. tunnel IP, LAN IP and Static IP but could not ping to
> the private network after the OPENVP server.
>
> Please advise how to do routing so that my client can access my private
> network also.
>
> My private netork series is 192.168.2.0
> Network series used for OPENVPN 172.16.1.0
> Static IP of Serer is x
> Static IP of Client is y
> Gateway of Static IP of Server is z.z.z.z
>
> Here is my config. files:
>
> Server's config. file
> ==
> dev tun
> tls-server
>
>
> ifconfig 172.16.1.1 172.16.1.20
> ca ca.crt
> cert server.crt
> key server.key
> dh dh1024.pem
>
>
> comp-lzo
> port 1194
> user nobody
> group nobody
> push "ping 10"
> push "ping-restart 60"
>
>
> route-up "route delete -net 172.16.1.0/24"
> route-up "route add -net 172.16.1.0/24 tun0"
>
> push "route 192.168.2.0 255.255.255.0"
> ==
>
> Server's routing table
> ==
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 172.16.1.20 0.0.0.0 255.255.255.255 UH0 00
> tun0
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 00
> eth0
> 172.16.1.0 0.0.0.0 255.255.255.0 U 0 00
> tun0
> x.0.0.00.0.0.0 255.0.0.0 U 0 00
> eth1
> 0.0.0.0 z.z.z.z 0.0.0.0 UG0 00 eth1
> ==
>
>
>
>
> Client config. file
> ==
> dev tun
> remote x.x.x.x
> tls-client
>
>
> ifconfig 172.16.1.20 172.16.1.1
> ca ca.crt
> cert client.crt
> key client.key
>
> comp-lzo
> port 1194
> user nobody
> group nobody
>
> route 192.168.2.0 255.255.255.0
> ==
>
> Client route
> ==
> DestinationGateway Genmask Flags Metric RefUse
> Iface
> 172.16.1.1 0.0.0.0 255.255.255.255 UH0 00
> tun0
> 192.168.2.0172.16.1.1 255.255.255.0 UG 0 00
> tun0
> y.0.0.0 0.0.0.0 255.0.0.0 U 0 00 eth0
> ==
>
> with best wishes
> arvind
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>
>
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/