[Openswan Users] routing between tunnels

Joost Kraaijeveld J.Kraaijeveld at Askesis.nl
Thu Nov 18 16:28:14 CET 2004


Hi all,

I have a VPN server (OpenSwan  that is the endpoint of two tunnels with PSK (see below)

                           + ---- vigor --- 172.29.0.0
172.31.0.0 --- VPN server--|
                           + ---- vigor --- 172.28.0.0

The tunnel work OK and I can ping from the 17.31.0.0 network to both other networks. But I also want to be able to ping from the 172.29.0.0 network to the 172.28.0.0 network. 

On the VPN server there appears to be a route to all the networks:
Laudanum:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
82.161.124.0    0.0.0.0         255.255.254.0   U     0      0        0 eth2
172.31.0.0      172.16.0.1      255.255.0.0     UG    0      0        0 eth0
172.28.0.0      82.161.124.1    255.255.0.0     UG    0      0        0 eth2
172.29.0.0      82.161.124.1    255.255.0.0     UG    0      0        0 eth2
172.16.0.0      0.0.0.0         255.255.0.0     U     0      0        0 eth0
10.0.0.0        82.161.124.1    255.0.0.0       UG    0      0        0 eth2
0.0.0.0         82.161.124.1    0.0.0.0         UG    0      0        0 eth2

What should be the route I have to add to the Vigor routers / VPN server to make it work?


Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld at Askesis.nl
web: www.askesis.nl 


More information about the Users mailing list