|
|
Claas Hilbrecht wrote:
If you look at the code below (from route.c) you will see that openvpn
doesn't handle host routes for linux at all. They need a "add -host %s
gw %s" syntax.
#if defined(TARGET_LINUX)
buf_printf (&buf, ROUTE_PATH " add -net %s netmask %s gw %s",
network,
netmask,
gateway);
if (r->metric_defined)
buf_printf (&buf, " metric %d", r->metric);
msg (D_ROUTE, "%s", BSTR (&buf));
status = system_check (BSTR (&buf), "ERROR: Linux route add command
failed", false);
#elif defined (WIN32)
Are you sure using this script _after_ the tun or tap device was
mounted ?
Guillaume
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|