How does Windows allow packet forwarding?

Linux allows packet forwarding in the following ways:

~ -sharp sysctl net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1

but how to implement the above command on the Windows system?

May.22,2021

only windows server can do this. Just turn on the function of soft routing.

EDIT: misremembered. It seems that only windows server has this function in soft routing., ip forward does not need it. Refer to https://kb.iweb.com/hc/en-us/.

.
Menu