Reply To: Send out modified ip packets, but no reponse ( NAT )

Home Forums Discussions Support Portal Send out modified ip packets, but no reponse ( NAT ) Reply To: Send out modified ip packets, but no reponse ( NAT )

#5627

Vadim Smirnov
Moderator

In order to analyze your code I would also need to analyze the environment it runs in. However, check if you have enable IP routing (forwarding) since it is disabled by the default and TCP/IP will just drop the packets from the interface if they don’t match interface address information.

Another ques: when I call SendPacketToMstcp(), should I also get this packet at PACKET_FLAG_ON_SEND at the other adapter when MSTCP send it to interface? I tried, but not get the packet.

No, this flag has informational purpose only (for you reference if packet was received from the network or from the stack).