|
|
John,
It was the sales.up script that is incorrect. It worked as soon as I
commented out that line in my .conf file.
I appreciate yours and Dick's comments. You guys are life-savers.
I may have questions about my sales.up script. So, stay tuned.
Thanks, Ryan
John Locke wrote:
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,
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
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/msg00084.html on line 208
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/msg00084.html on line 208
|