(adsbygoogle = window.adsbygoogle || []).push({}); O_o :: 'RRAS' 태그의 글 목록

'RRAS'에 해당되는 글 1건

  1. 2008.10.08 Open VPN - Route Problem

Open VPN - Route Problem

|
>> Hello to all!
>> I'm trying to use multi-server configuration on Win2k machine.
>> Everything ok, while on clients doesn't start RRAS. After RRAS is
>> started, client can't

JB> RRAS ?


>> flush add route to office network (through push-reply, however command
>> may be executed
>> manuall). Here fragment of log file:
>> --------
>> us=194564 [B] Peer Connection Initiated with x.x.x.x:x
>> us=754894 SENT CONTROL [B]: 'PUSH_REQUEST' (status=1)
>> us=944412 PUSH: Received control message: 'PUSH_REPLY,route
>> 192.168.192.1 255.255.255.255,ping 10,ping-restart 60,ifconfig
>> 192.168.192.6 192.168.192.5'
>> us=944520 OPTIONS IMPORT: timers and/or timeouts modified
>> us=944538 OPTIONS IMPORT: --ifconfig/up options modified
>> us=944553 OPTIONS IMPORT: route options modified
>> us=948064 TAP-WIN32 device [OpenVPN] opened:
>> \\.\Global\{427E6BDF-F41F-4E7A-B8C4-4F12B25A6C11}.tap
>> us=948126 TAP-Win32 Driver Version 8.1
>> us=948145 TAP-Win32 MTU=1500
>> us=948188 Notified TAP-Win32 driver to set a DHCP IP/netmask of
>> 192.168.192.6/255.255.255.252 on interface
>> {427E6BDF-F41F-4E7A-B8C4-4F12B25A6C11} [DHCP-serv: 192.168.192.5,
>> lease-time: 31536000]
>> us=948255 Sleeping for 5 seconds...
>> us=947292 NOTE: FlushIpNetTable failed on interface [2]
>> {427E6BDF-F41F-4E7A-B8C4-4F12B25A6C11} (status=1413) : Invalid index.
>> us=949840 DEBUG: test_routes: 1/1 succeeded len=1 ret=1 a=0 u/d=up
>> us=949889 route ADD 192.168.192.1 MASK 255.255.255.255 192.168.192.5
>> us=951526 ROUTE: route addition failed using CreateIpForwardEntry: The
>> parameter is incorrect.
>> us=951571 Route addition via IPAPI failed
>> ---------
>> Some more comments:
>> If I add route through operating system "route add ..", I ping GW
>> (192.168.192.1) - Ok,
>> If I use tap-sleep 10, route addition succeeded, but then I cat't ping
>> GW (192.168.192.1) - ???

JB> how do you add the route?
I run system command in command prompt
route add 192.168.192.1 mask 255.255.255.255 192.168.192.5

JB> do you test on the same lan as you want to connect to?
Yes.

The problem in FlushIpNetTable failed on interface [2] (status=1413) : Invalid index.
I think route addition fail - it's second problem, the first FlushIpNetTable.
Because even use route-delay 10 route addtion succeeded (in OpenVPN log), but in
win2k through route print no such route.
And
prev | 1 | next