[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 regarding network routing and Open VPN


  • Subject: Re: [Openvpn-users] Question regarding network routing and Open VPN
  • From: "Julio Maidanik" <juliomaidanik@xxxxxxxxxxx>
  • Date: Fri, 14 May 2004 17:32:17 -0300

Hi,

> So I tried to add this to the route table on computer 3:
> route add 10.3.0.0 mask 255.255.255.0 192.168.1.138
>

That seems wrong, try something like
route add 192.168.3.0 mask 255.255.255.0 10.3.0.2

Julio

----- Original Message ----- 
From: "Oddgeir Sjøset" <oddgeir.sjoset@xxxxxxxxx>
To: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, May 14, 2004 4:55 AM
Subject: [Openvpn-users] Question regarding network routing and Open VPN


> If anyone could answer this question it would be mostly appreciated.
>
> More on the set up:
>
> Server information (windows 2000 server edition)
>
> ip adresses:
>
> 192.168.1.138 mask 255.255.255.0 gw 192.168.1.1
>
> ovpn.conf
>
> remote *ip address*
> port 4998
> proto udp
> dev tap
> ifconfig 10.3.0.1 255.255.255.0
> secret key.txt
> ping 15
> verb 4
> mute 10
>
> Route table:
>
> 192.168.3.0 mask 255.255.255.0 10.3.0.2
>
>
> Client information (windows xp)
>
> ip addresses:
>
> 192.168.3.100 mask 255.255.255.0 gw 192.168.3.1
>
> Ovpn.conf
>
> remote *ip address*
> port 4998
> proto udp
> dev tap
> ifconfig 10.3.0.2 255.255.255.0
> secret key.txt
> ping 15
> verb 4
> mute 10
>
> Route table
>
> 192.168.1.0 mask 255.255.255.0 10.3.0.1
>
>
> So far everything works fine, the connection is established and working. I
> can ping the other side by both 10.3.0.x and 192.168.x.x from either the
> client or the server. I do however get a problem when I want some other
> machines on the network to ping across the VPN.
>
> In example.
>
> Computer 3 set up. (windows 2000)
>
> 192.168.1.146 mask 255.255.255 gw 192.168.1.1
>
> if i ping the client by either 10.3.0.2 or 192.168.3.100 i only get timed
> out, which is understandable because of the fact that the gateway doesn't
> have a set way to get to the client, which it'll never get aswell.
>
> So I tried to add this to the route table on computer 3:
> route add 10.3.0.0 mask 255.255.255.0 192.168.1.138
>
> At this point i manage to ping 10.3.0.1 but not 10.3.0.2
>
> So then i decided to try another route:
> route add 192.168.3.0 mask 255.255.255.0 192.168.1.138
>
> At this point I don't manage to ping either.
>
> What can I do in order so it'll be possible to ping across the networks?
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> 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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-05/msg00181.html on line 282

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-05/msg00181.html on line 282