none
Проблема с NAT в RRAS RRS feed

  • Общие обсуждения

  • Доброго времени !

    Возникла проблема с протоколом маршрутизации "Преобразование сетевых адресов (NAT)" в RRAS, а именно:

    При активации данного протокола в RRAS, возникают проблемы при передачи пакетов/файлов более 2х мегабайт, в Site to Site сети.

    (NAT нужен не для Site to Site а для внешних SSTP подключений чтобы интернет был через определенное VPN подключение и в этом SSTP все хорошо).

    Так вот о проблеме:

    После включения NAT в RRAS.

    Файлы передаются несколькими блоками и очень медленно (10 мегабайт могут передаваться более 20и минут).

    (Site to site организован по всем канонам RRAS, это pptp с двух сторон с учетками и маршрутизацией).

    Примечательно то что, при отключении NAT все становится нормально, но NAT нужен.

    Адреса IP4 выдаются на обеих сторонах и пингуются. (IP6 отключен).

    Переустанавливал роли, RRAS, NPS, использовал другой физический интерфейс - результата нет.

    В событиях ничего.

    В RASTAPI.LOG момент запуска, вот:

    [4104] 08-03 20:50:04:570: PortDisconnect: VPN4-127
    [4104] 08-03 20:50:04:570: PortDisconnect: Changing State of VPN4-127 from 2 -> 1
    [4104] 08-03 20:50:04:571:  
    [4104] 08-03 20:50:04:580: DeviceConnect: DevSpecificInfo of 24 bytes available. Allocating new memory...
    [4104] 08-03 20:50:04:580: DeviceConnect: calling lineMakeCall with size 24 and offset 197
    [4104] 08-03 20:50:04:580: DeviceConnect: calling lineMakeCall for VPN4-127, address="адрес сервера"
    [4104] 20:50:04: RasLineMakeCall...
    [4104] 20:50:04: AsyncDriverRequest: Oid(MakeCall), devID(0x3), reqID(0x30f), hCall(0x0)
    [4104] 08-03 20:50:04:580: DeviceConnect: Changing state for VPN4-127 from 1 -> 4
    [19256] 20:50:04: AsyncEventsThread: Got a line event
    [19256] 20:50:04: ProcessEvent: Event(00000177C8A8DCC8), msg(0x2), ht_line(0xc40002), ht_call(0xce000a), p1(0000000000000200), p2(0000000000000000), p3(0000000000000100)
    [19256] 20:50:04: ProcessEvent: Incomplete outbound call, saving state
    [19256] 20:50:04: AsyncEventsThread: Got a completed request
    [19256] 20:50:04: AsyncEventsThread: Request (00000177CA6393F0) with reqID (0x30f) returned dwResult (0x0)
    [19256] 20:50:04: RasLineMakeCall_postProcess called with dwRetCode (0x0)
    [19256] 20:50:04: RasLineMakeCall_postProcess: Executing the pending LINE_CALLSTATE message 0x200
    [19256] 20:50:04: AsyncEventsThread: Async call completed with ReqID (30f), dwResult (0)
    [19256] 08-03 20:50:04:580: RasTapicallback: msg=12 , param1=783l , param2=0l
    [19256] 08-03 20:50:04:580: LINE_REPLY. param1=0x30f
    [19256] 20:50:04: AsyncEventsThread: Report back the saved call state
    [19256] 20:50:04: AsyncEventsThread: LINE_CALLSTATE htline(0000000000C40002), htcall(0000000000CE000A), p1(0000000000000200), p2(0000000000000000), p3(0000000000000100)
    [19256] 08-03 20:50:04:580: RasTapicallback: msg=2 , param1=512l , param2=0l
    [19256] 08-03 20:50:04:580: RasTapicallback: linecallstate=0x200
    [19256] 20:50:04: AsyncEventsThread: Got a line event
    [19256] 20:50:04: ProcessEvent: Event(00000177C8A8DCC8), msg(0x2), ht_line(0xc40002), ht_call(0xce000a), p1(0000000000000100), p2(0000000000000000), p3(0000000000000100)
    [19256] 08-03 20:50:04:586: RasTapicallback: msg=2 , param1=256l , param2=0l
    [19256] 08-03 20:50:04:586: RasTapicallback: linecallstate=0x100
    [19256] 20:50:04: SyncDriverRequest: Oid(GetCallInfo), devID(3), reqID(310), hCall(0000000000000084)
    [19256] 08-03 20:50:04:587: DwGetConnectInfo
    [19256] 08-03 20:50:04:587: DwGetIDInformation
    [19256] 08-03 20:50:04:587: DwGetIDInformation. 0
    [19256] 08-03 20:50:04:587: SizeRequired for CallID=0
    [19256] 08-03 20:50:04:587: CallIDSize=ConnectResponseSize=0
    [19256] 08-03 20:50:04:587: DwGetConnectInfo. 0x0
    [19256] 08-03 20:50:04:587: RasTapiCallback: DwGetConnectInforeturned 0x0
    [19256] 08-03 20:50:04:587: RasTapiCallback: Connected on VPN4-127
    [19256] 08-03 20:50:04:587: RasTapiCallback: Outgoing call
    [12124] 08-03 20:50:04:587: DeviceWork: VPN4-127. State = 4
    [12124] 20:50:04: SyncDriverRequest: Oid(GetCallStatus), devID(3), reqID(311), hCall(0000000000000084)
    [12124] 08-03 20:50:04:587: DeviceWork: Changing state for VPN4-127 from 4 -> 3
    [4104] 08-03 20:50:04:588: PortConnect: VPN4-127
    [4104] 20:50:04: SyncDriverRequest: Oid(GetCallInfo), devID(3), reqID(312), hCall(0000000000000084)
    [4104] 20:50:04: SyncDriverRequest: Oid(GetID), devID(3), reqID(313), hLine(0000000000000000)
    [4104] 08-03 20:50:04:588:  
    [13808] 08-03 20:50:04:653: PortDisconnect: VPN4-127
    [13808] 08-03 20:50:04:653: InitiatePortDisconnection: VPN4-127
    [13808] 20:50:04: RasLineDrop...
    [13808] 20:50:04: AsyncDriverRequest: Oid(Drop), devID(0x3), reqID(0x314), hCall(0x0)
    [13808] 08-03 20:50:04:653: InitiatePortDisconnection: Changing state for VPN4-127 from 3 -> 5, id=0x314
    [13808] 08-03 20:50:04:653:  
    [13808] 08-03 20:50:04:653:  
    [19256] 20:50:05: AsyncEventsThread: Got a line event
    [19256] 20:50:05: ProcessEvent: Event(00000177C8A8DCC8), msg(0x2), ht_line(0xc40002), ht_call(0xce000a), p1(0000000000004000), p2(0000000000000000), p3(0000000000000100)
    [19256] 08-03 20:50:05:653: RasTapicallback: msg=2 , param1=16384l , param2=0l
    [19256] 08-03 20:50:05:653: RasTapicallback: linecallstate=0x4000
    [19256] 08-03 20:50:05:653: RasTapiCallback: LINECALLSTATE - initiating Port Disconnect
    [19256] 08-03 20:50:05:653: InitiatePortDisconnection: VPN4-127
    [19256] 20:50:05: RasLineDrop...
    [19256] 20:50:05: AsyncDriverRequest: Oid(Drop), devID(0x3), reqID(0x315), hCall(0x0)
    [19256] 08-03 20:50:05:653: InitiatePortDisconnection: Changing state for VPN4-127 from 5 -> 5, id=0x315
    [19256] 08-03 20:50:05:653:  
    [19256] 20:50:05: ProcessEvent: LINECALLSTATE_IDLE: hCall(0000000000CE000A)
    [19256] 08-03 20:50:05:653: RasTapicallback: msg=2 , param1=1l , param2=0l
    [19256] 08-03 20:50:05:653: RasTapicallback: linecallstate=0x1
    [19256] 20:50:05: AsyncEventsThread: Got a completed request
    [19256] 20:50:05: AsyncEventsThread: Request (00000177CA34D840) with reqID (0x314) returned dwResult (0x0)
    [19256] 20:50:05: AsyncEventsThread: Async call completed with ReqID (314), dwResult (0)
    [19256] 08-03 20:50:05:653: RasTapicallback: msg=12 , param1=788l , param2=0l
    [19256] 08-03 20:50:05:653: LINE_REPLY. param1=0x314
    [19256] 08-03 20:50:05:653: PortByRequestId found
    [19256] 20:50:05: AsyncEventsThread: Got a completed request
    [19256] 20:50:05: AsyncEventsThread: Request (00000177CA34E8C0) with reqID (0x315) returned dwResult (0x0)
    [19256] 20:50:05: AsyncEventsThread: Async call completed with ReqID (315), dwResult (0)
    [19256] 08-03 20:50:05:653: RasTapicallback: msg=12 , param1=789l , param2=0l
    [19256] 08-03 20:50:05:653: LINE_REPLY. param1=0x315
    [19256] 08-03 20:50:05:653: RasTapiCallback: lineDropped. port VPN4-127, id=0xffffffff
    [19256] 08-03 20:50:05:653: RasTapiCallback: Idle Received for port VPN4-127
    [19256] 08-03 20:50:05:653: RasTapiCallback: changing state of VPN4-127. 5 -> 1
    [19256] 08-03 20:50:05:653: RasTapiCallback: lineDeallocateCall for VPN4-127,hcall = 0xce000a
    [19256] 20:50:05: SyncDriverRequest: Oid(CloseCall), devID(3), reqID(316), hCall(0000000000000084)
    [12124] 08-03 20:50:05:653: PortTestSignalState: DeviceState = 0
    [4104] 08-03 20:50:05:653: PortClose: VPN4-127
    [4104] 08-03 20:50:05:653: PortClose: Changing state for  VPN4-127 from 1 -> 0
    [4104] 08-03 20:50:05:653: 

    3 августа 2019 г. 18:13