I've been moving toward using iproute2 command exclusively on my system and have just goteen to openvpn. According to the "Optional Features: section of the file "configure" in the openvpn tarball: --enable-iproute2 Enable support for iproute2 This is backed up (somewhat) on the openvpn.net site at: http://openvpn.net/archive/openvpn-users/2005-01/msg00513.html I have created a patch to the openvpn-2.0-r1.ebuild which adds this support. I have also tested this on three systems: P4, Athlon-XP, AMD64 with a single server config and everything seems to work ok. Startup includes: Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: TUN/TAP device tun0 opened Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: TUN/TAP TX queue length set to 100 Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: /sbin/ip link set dev tun0 up mtu 1500 Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: /sbin/ip addr add dev tun0 local 10.1.1.3 peer 10.1.1.4 Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: /sbin/ip route add 10.1.1.0/24 via 10.1.1.4 Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: GID set to vpn Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: UID set to vpn Jul 12 09:18:54 myclient openvpn-client-myserver[23368]: Initialization Sequence Completed and i've used this setup for several days. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 63238 [details, diff] patch to enable iproute2 support in openvpn ebuild
Fixed in 2.0.2-r1