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

Re: [Openvpn-users] Strange routing behaviour between to networks


  • Subject: Re: [Openvpn-users] Strange routing behaviour between to networks
  • From: "David Balazic" <David.Balazic@xxxxxxxxxxxxxxxxxx>
  • Date: Sat, 29 Dec 2007 20:41:03 +0100

Title: [Openvpn-users] Strange routing behaviour between to networks
Did you trace the packets ?
Do the VPN endpoints have packet forwarding enabled ("routing").
 
David


From: openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx on behalf of Sebastian Mauer
Sent: Fri 28-Dec-07 01:19
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Openvpn-users] Strange routing behaviour between to networks

Hello there,
I have set up a little OpenVPN Tunnel between my parents and my LAN. However
I put some work on figuring out the correct settings for routing between the
two networks it doesn't work as expected.

[My parents LAN]                                     [My LAN]
192.168.0.0/24                                       192.168.148.0/24

192.168.0.2         192.168.0.1                      192.168.148.1
192.168.148.2
starsky.rnet.lan----gateway.rnet.lan----<The
Web>----gateway.maz.lan----scooby.maz.lan
(OpenVPN Endpoint)  (WRT54G Router)                   (WRT54G Router)
(OpenVPN Endpoint)
                           |                                |
                 ...other hosts on lan              ...other hosts on lan

The OpenVPN Tunnel Subnet is 10.8.0.0

By now I am only able to ping the gateway and OpenVPN Endpoint of each lan
(and vice versa). Other hosts like 192.168.148.3 can't be reached from a
station on my parents lan. Please, can someone help me to find out what
prevents my setup from being able to ping/reach ALL stations from every
station of the two networks.

Thanks in Advance,
Sebastian Maui

My routing tables are as follows:

starsky.rnet.lan
10.8.0.9 dev tun0  proto kernel  scope link  src 10.8.0.10
10.8.0.0/24 via 10.8.0.9 dev tun0
192.168.148.0/24 via 10.8.0.9 dev tun0
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.2
default via 192.168.0.1 dev eth0

gateway.rnet.lan
62.112.90.254 dev ppp0  src 62.112.90.202
10.8.0.0/24 via 192.168.0.2 dev br0
192.168.0.0/24 dev br0  src 192.168.0.1
192.168.148.0/24 via 192.168.0.2 dev br0
127.0.0.0/8 dev lo
default via 62.112.90.254 dev ppp0

scooby.maz.lan
10.8.0.2 dev tun0  proto kernel  scope link  src 10.8.0.1
10.7.0.2 dev tun1  proto kernel  scope link  src 10.7.0.1
10.0.0.0/24 via 192.168.148.1 dev eth0
10.8.0.0/24 via 10.8.0.2 dev tun0
192.168.0.0/24 via 10.8.0.2 dev tun0
192.168.148.0/24 dev eth0  proto kernel  scope link  src 192.168.148.2
10.7.0.0/24 via 10.7.0.2 dev tun1
default via 192.168.148.1 dev eth0

gateway.maz.lan
10.0.0.1 dev eth0.1  scope link
217.0.116.146 dev ppp0  proto kernel  scope link  src 80.137.139.86
10.8.0.0/24 via 192.168.148.2 dev br-lan
192.168.0.0/24 via 192.168.148.2 dev br-lan
192.168.148.0/24 dev br-lan  proto kernel  scope link  src 192.168.148.1
10.0.0.0/8 dev eth0.1  proto kernel  scope link  src 10.0.0.10
default via 217.0.116.146 dev ppp0


-------------------------------------------------------------------------
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