0
In Win7 with netsh I would like to allow a listening port only on a single interface and block it on all the other interfaces.
With the GUI this is possible using the "Protected Network Connections->Customize" in the snap-in properties.
Source: windowsitpro.com/
In PowerShell too, the following command is available:
Set-NetFirewallProfile -Name Private -DisabledInterfaceAliases 'Connection Name'
Via COM it is possible to access the Interfaces property for a rule via the INetFwRule
interface.
So what about netsh?
possible duplicate of Firewalling VirtualBox: restrict host inbound connections to guests only
– Kenster – 2014-09-26T13:54:48.650@Kenster Ok, redacted with more context – antonio – 2014-09-26T21:42:46.317