實現限 IP
i.e. File sharing allow 192.168.88.178
netsh advfirewall firewall show rule status=enabled name=cifs
Rule Name: cifs ---------------------------------------------------------------------- Enabled: Yes Direction: In Profiles: Domain,Private,Public Grouping: LocalIP: Any RemoteIP: 0.0.0.0-192.168.88.177,192.168.88.179-255.255.255.255 Protocol: TCP LocalPort: 445 RemotePort: Any Edge traversal: No Action: Block Ok.