开启转发
reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v IPEnableRouter /D 1 /f
开启routing and remote access服务
这样局域网里面别的设备能通过windows进行上网
参考:https://www.cnblogs.com/chrishg/articles/12861053.html
开启转发
reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v IPEnableRouter /D 1 /f
开启routing and remote access服务
这样局域网里面别的设备能通过windows进行上网
参考:https://www.cnblogs.com/chrishg/articles/12861053.html