|
|
Okay. So maybe it's not the ifconfig statement. But right after it, this looks like OpenVPN is calling a script called sales.up. What do you have in this script? Looks like whatever you have, the syntax is incorrect for the route command. The route command has a different syntax on each platform. By the way, James, OpenVPN isn't supporting the --route statement for Mac, at least for Panther--had to create a route up script myself for that platform. Ryan, try disabling the up script, and see if you get a connection. If you do, then add the route manually with the route(8) command, until you get it right. Syntax would be something like: route add -net 10.0.0.3 -netmask 255.0.0.0 gw 192.168.0.187 Choose an appropriate netmask for the remote network. If you have multiple interfaces on the 192.168.0.7, you'll have to specify the interface (don't know the command offhand--man route). Then it looks like you could use the variables passed by OpenVPN in your script as follows: route add -net $5 -netmask 255.0.0.0 gw $4 ... or just add a --route to the configuration: route 10.0.0.3 255.0.0.0 Cheers, -- John Locke Open Source solutions for small business problems http://freelock.com Ryan Nielsen wrote: Tue Dec 16 15:31:40 2003 89[0]: ./sales.up tun0 1259 1300 192.168.0.187 10.0.0.3
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00086.html on line 222 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00086.html on line 222 |