|
|
Prasanna Krishnamoorthy wrote: > I'd say that it was a bug that you couldn't add the route before. Did I mention that 10.0.8 is the local network? It has it's own vpn connection. > You > need to change the particular ccd file for this client to not push the > route. Otherwise, you could refuse to add the routes at the client, > and add them manually. You'd do that by not specifying '--pull' at the > client end. Note that specifying '--client' implies '--pull'. You'd > need to add the routes manually then. Hrm. Unfortunately, I don't have control over the server configuration, and I want to know the other remote networks (the ones that aren't local, that is). Is there a way to just say "don't alter the default route"? It seems to work the way I want on OS X too, so Ubuntu seems to be the odd one out, out of the three. Max. > > Prasanna. > > On Nov 9, 2007 2:46 PM, Max Waterman > <davidmaxwaterman+openvpn-users@xxxxxxxxxxxxxx> wrote: >> Hi, >> >> I just moved from fc6 to ubuntu. I moved /etc/openvpn from one to the >> other, and now my openvpn isn't working as I expect. >> >> Can someone tell me what I've done wrong? >> >> The problem is that the default route is being changed to go through tun0 : >> >> [on ubuntu] >> Nov 9 16:20:25 jeeves ovpn-client-emdigo[10893]: route add -net >> 10.0.8.0 netmask 255.255.255.0 gw 10.8.0.53 >> >> while before, it would fail : >> >> [on fc6] >> Nov 8 17:14:47 jeeves openvpn[1988]: /sbin/ip route add 10.0.8.0/24 via >> 10.8.0.53 >> Nov 8 17:14:47 jeeves openvpn[1988]: ERROR: Linux route add command >> failed: shell command exited with error status: 2 >> >> I was kind of relying on it failing before, and now it isn't, it doesn't >> work as expected, sending all traffic for it's local network through tun0. >> >> Can someone tell me how to fix this? Perhaps there's an option to stop >> it from adding a default route? >> >> The reason I have the tunnel is so that I can route specific >> networks/hosts through the vpn tunnel, and leave other ones to go the >> normal route. >> >> Max. >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Openvpn-users mailing list >> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx >> https://lists.sourceforge.net/lists/listinfo/openvpn-users >> > > > ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |