|
|
Hi
it´s vodafone based: They don't push gw informations.
I have a workaround for debian (Should run on other dists as well); awk
& iproute2 is needed.
I don´t know if other dists also set the ppp route devicebased, if they
do it, i think some similar code should be integrated directly in
openvpn. How does Wintendo?
My Workaround, lying in ip-up.d:
---------------8<--------------
#!/bin/bash
if [ $(ip route list exact default |\
awk '/^default/ {print $2}') = dev ];
then
IF=$(ip route | awk '/^default/ {print $3}')
GW=$(ip address show $IF |\
awk '/peer/ {print $4}' | cut -d"/" -f1)
ip route replace default via $GW dev $IF
fi
-----------8<------------------
Debians Maintainer for the ppp made the decision for devicebased routing
about 4 years ago, caused by this "Bug":
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=85426
Greetings, Jan
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|