How do I pre-define a firewall "zone" in the Windows Firewall for a specific connection name?
Posted on 2014-03-10
I have an application that creates a software NIC with a '2' after my domain name and it uses this for various tunneling operations. Let us say my domain name is "Contoso.com". Therefore, the connection name is "Contoso.com 2".
Following the application's install, I receive the Windows Firewall screen asking me to choose a zone from the "Home", "Work", "Public" list we've all seen.
What I'd like to do is either use Group Policy or a command-line command to pre-specify where "Contoso.com 2" should go, in this case, the "Work" zone. That way, following the application's installation, the user won't be prompted for this information.
Is there a way to do this that you're aware of? I can't seem to find the setting for a specific connection name in Group Policy but might not be looking in the right area. Perhaps a netsh command can handle it?
Thanks in advance.