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

[Openvpn-users] Strange routing behaviour between to networks


  • Subject: [Openvpn-users] Strange routing behaviour between to networks
  • From: "Sebastian Mauer" <sebastian@xxxxxxxxxx>
  • Date: Fri, 28 Dec 2007 01:19:09 +0100

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

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users