|
|
On Wed, 2003-10-08 at 13:14, Kristof Hardy wrote: > Hi All, > > The setup as mentioned in subject works perfect! :) > One remark.. Adding a route on the road warrior 'manually' always seems > to work. Connection is fine then. > > But when adding the 'route' option to the road warrior's config file, > sometimes it doesn't work. See the log below. > > If it doesn't work and I do a F1 (USR1), it adds the route perfectly! > > Is there something wrong or maybe I didn't configure it correctly? > (config attached below) > > > Wed Oct 08 11:48:22 2003 110: Attempting to lock Win32 semaphore > 'openvpn_netcmd > ' prior to net shell command (timeout = 600 sec) > Wed Oct 08 11:48:22 2003 111: arp -d * > The specified entry was not found > Wed Oct 08 11:48:22 2003 112: Attempting to lock Win32 semaphore > 'openvpn_netcmd > ' prior to net shell command (timeout = 600 sec) > Wed Oct 08 11:48:22 2003 113: route ADD 10.10.0.0 MASK 255.255.255.0 > 192.168.254 > .2 > The route addition failed: Either the interface index is wrong or the > gateway do > es not lie on the same network as the interface. Check the IP Address > Table for > the machine. > Wed Oct 08 11:48:22 2003 114: Data Channel MTU parms [ link_mtu=1576 > extra_frame > =44 extra_buffer=0 extra_tun=32 dynamic = [ > mtu_min_initial=MTU_INITIAL_UNDEF mt > u_max_initial=MTU_INITIAL_UNDEF mtu_initial=MTU_SET_TO_MAX mtu_min=176 > mtu_max=1 > 576 mtu=1576 ] ] > ... > WWWed Oct 08 11:48:54 2003 122: SIGUSR1 received, restarting > ... > Wed Oct 08 11:48:54 2003 125: route DELETE 10.10.0.0 > The route specified was not found. > ... > Wed Oct 08 11:48:56 2003 139: Attempting to lock Win32 semaphore > 'openvpn_netcmd > ' prior to net shell command (timeout = 600 sec) > Wed Oct 08 11:48:56 2003 140: route ADD 10.10.0.0 MASK 255.255.255.0 > 192.168.254 > .2 > ...-> NO error message > > -------------------------------- > # rw1 config > # I'm using tun and not tap.. > # > port 6000 > remote 212.123.16.194 > tun-mtu 1500 > tun-mtu-extra 32 > dev tun0 > ifconfig 192.168.254.1 192.168.254.2 > secret rw1.key > ping 10 > > route 10.10.0.0 255.255.255.0 192.168.254.2 > > verb 5 > # > ### EOF ### You may use the option "route-delay n". Personally i use 5 second and it works flawlessy ;) Stefano. ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |