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

[Openvpn-users] IP addressing problem


  • Subject: [Openvpn-users] IP addressing problem
  • From: Kevin Goad <Supergoad@xxxxxxxxx>
  • Date: Sat, 2 Oct 2004 07:18:42 +0000 (UTC)

Well, in short, here is what I want to do:
http://68.48.222.152/~keving/diagram.png

I use 192.168.0.0/24 addresses, but these seem to bypass the tunnel when I am on
a physical network that uses 192.168.0.0/24.   I am trying to use tun(but have
tried tap), with static keys until i get it working.  I am pretty sure the
problem is with the routing table.  It seems as if the physical interface(eth0)
takes precedence over the virtual devices.

I'm running linux kernel 2.4 on the server, and linux 2.6 on the laptop(both
slackware-current)

Laptop routing table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *               255.255.255.0   U     0      0        0 eth0
10.0.0.0        *               255.0.0.0       U     0      0        0 tap0
loopback        *               255.0.0.0       U     0      0        0 lo
default         *               0.0.0.0         U     0      0        0 tap0
default         server          0.0.0.0         UG    0      0        0 eth0


Thanks




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