Hi guys. I have been doing some work on OpenVPN. The good news: The new modes (shared key and password) are working in my test setup. Finished some of the features requested/bugs reported.
I still can't fix the problem that has already been described earlier (by [EMAIL PROTECTED]): If the VPN connection is established, OpenVPN assigns two IPs. From the clients point of view the remote address is the server, the local is the own IP. Both are transmitted via OpenVPN. In my test case the server has address 10.9.0.5, the client 10.9.0.6. So the output should look like: [EMAIL PROTECTED]:[~/dev/NetworkManager]# ifconfig tun0 tun0 Link encap:UNSPEC Hardware Adresse [...] inet addr:10.9.0.6 P-t-P:10.9.0.5 Maske:255.255.255.255 [...] it looks like this right after the connection has been started! And OpenVPN gives this information to the helper. But as soon as this information is sent to NM the output looks like: [EMAIL PROTECTED]:[~/dev/NetworkManager]# ifconfig tun0 tun0 Link encap:UNSPEC Hardware Adresse [...] inet Adresse:10.9.0.6 P-z-P:10.9.0.6 Maske:255.255.255.255 [...] Not the inet addr and P-t-p addresses, they are the same! I have double-checked. The OpenVPN service sends the correct information to NM. I added output to the openvpn service and used dbus-monitor to see what actually gets send. I'm not even sure if this is a problem. A route to the remote address is correctly set. In the example given this looks like: [EMAIL PROTECTED]:[~/dev]# route -n Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 10.9.0.5 192.168.4.1 255.255.255.255 UGH 0 0 0 ath0 192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tun0 And although I cannot ping the remote IP I'm still able to route traffic over that connection. Does anybody have an idea where this gets messed up and why and where NM sets the P-t-P address or what I did so horribly wrong and actuall _if_ this is a problem. Did you do any more tests j? Another thing that I noticed that if you edit two VPN connections of different VPN type (vpnc and openvpn) one after another the second time it will show you both widgets stacked on one screen. Is that a problem that I introduced or something that is not been seen yet since there has been only one VPN service till now? Tim -- Tim Niemueller <[EMAIL PROTECTED]> www.niemueller.de ================================================================= Imagination is more important than knowledge. (Albert Einstein) _______________________________________________ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list