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

Re: [Openvpn-users] Re: Issue routing among three VPNs


  • Subject: Re: [Openvpn-users] Re: Issue routing among three VPNs
  • From: Borja Pacheco <bpacheco@xxxxxxxxxxxx>
  • Date: Wed, 03 Nov 2004 17:35:30 +0100

Summon up to all questions you have made me (thanks in a lot to everybody!)

a) I'm using this version of the package openvpn-1.5.0-46.
b) In my scenario I'm using two different interfaces at Host A (tun0 and tun1, so when a packet it's sent from Host B arrives from tun0 and then latter it should be sent to Host C over tun1)
c) Routes are introduced into the clients (Host B and Host C) through the client.up script.

Here's the configuration for the host B....
#!/bin/bash
# Route to Office A
route -A inet add -net 172.16.0.0 netmask 255.255.240.0 gw $5
# Route to Office C
route -A inet add -net 172.16.16.0 netmask 255.255.240.0 gw $5

here is a summon of the routing table at host B.....
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.16.1.2      0.0.0.0         255.255.255.255 UH    0      0        0 tun0          ---> Host A's virtual address
172.16.16.0     172.16.1.2      255.255.240.0   UG    0      0        0 tun0        ---> Route to office C
172.16.0.0      172.16.1.2      255.255.240.0   UG    0      0        0 tun0         ---> Route to office A

This is made, in the same way, for node C

traceroute arrives host A, but it does not follow up.....

El mié, 03-11-2004 a las 14:16 +0000, Kurt escribió:
Borja Pacheco <bpacheco <at> acisa.com.es> writes:

> 
> 
> Dear all,
> I've configured my network using OpenVPN to establish connections among
different offices (nowadays three ones).
> The topology is based on an star, with a central hub in the main office, which
serves VPNs (OpenVPN Server) to the others offices (which acts as OpenVPN
clients, using fixed IP addresses).
> Graphically:
> Host B <---OpenVPN Tunnel---> Host A <---OpenVPN Tunnel---> Host C
> Host A, is located into our main office, and it's a quite complex firewall
attached to several subnetworks.
> Tunnels works fine when, from Host A (or its subnetworks) I try to reach any
host located at office B or C, or viceversa (from B or C to A).The problem
arises when I try to reach hosts from B to C (or C to B). 
> Host A forwards packets fine, and I noticed that this issue only happens when
routing from a tun device to another, when I route to another subnet which is
attached to an standard ethernet device, everything works fine.
> Does anybody knows if exists a limitation on it? is it a configuration issue?
Any idea?  :S
> Thanks in advance!!! 
> 

Hi Borja,

do you use two different tun interfaces on your Host A (like tun0 and tun1) or a
single one? 
Kurt





-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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-11/msg00075.html on line 248

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-11/msg00075.html on line 248