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

[Openvpn-users] server push wrong routing and ifconfig to client


  • Subject: [Openvpn-users] server push wrong routing and ifconfig to client
  • From: Shaun Savage <savages@xxxxxxxxxxxxxxx>
  • Date: Wed, 05 Jan 2005 13:21:38 -0800

Hi all

I am using openvpn-2.2.0-rc6 on linux. I had tls to tls vpn working now I am trying to get the sever - client working now.

The server.conf
---------------------------------------------
server 192.168.254.0 255.255.255.0
push 192.168.0.0 255.255.224.0
...
route 192.168.34.0	255.255.255.0

.....MORE
---------------------------------------------

The client.conf is about the same but
remote NN.NN.NN.NN 1194

--------------------------------------------

ccd/client
--------------------------------------------
iroute 192.168.34.0 255.255.255.0

--------------------------------------------

The problem is the tun0 on the server is point to point to
192.168.254.1 PtoP 192.168.254.2
the routing is also

# route
192.168.34.0 192.168.254.2 255.255.255.0

BUT on the client

tun0 is
192.168.254.6 192.168.254.5

with route
192.168.254.1   192.168.254.5   255.255.255.255 UGH   0      0        0 tun0
192.168.34.0    *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     192.168.254.5   255.255.224.0   UG    0      0        0 tun0


Why doesn't the routing match? the 2 PtoP should be inverse.

If you need the whole configuration I can send it, but I hope I the limited config will be enough to know the problem.

shaun



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users