NETSH - Windows Vista / 2008

netsh » firewall » set » portopening

Microsoft Windows [Version 6.0.6001]
(C) Copyright 2006 Microsoft Corp.
c:\windows>netsh firewall set portopening ?

set portopening
     [ protocol = ] TCP|UDP|ALL
     [ port = ] 1-65535
     [ [ name = ] name
       [ mode = ] ENABLE|DISABLE
       [ scope = ] ALL|SUBNET|CUSTOM
       [ addresses = ] addresses
       [ profile = ] CURRENT|DOMAIN|STANDARD|ALL

 Sets firewall port configuration.


 protocol - Port protocol.
     TCP - Transmission Control Protocol (TCP).
     UDP - User Datagram Protocol (UDP).
     ALL - All protocols.

 port - Port number.

 name - Port name (optional).

 mode - Port mode (optional).
     ENABLE  - Allow through firewall (default).
     DISABLE - Do not allow through firewall.

 scope - Port scope (optional).
     ALL    - Allow all traffic through firewall (default).
     SUBNET - Allow only local network (subnet) traffic through firewall.
     CUSTOM - Allow only specified traffic through firewall.

 addresses - Custom scope addresses (optional).
             This comma-separated scope can contain IPv4 addresses,
             IPv6 addresses, subnets, ranges, and the keyword LocalSubnet.

 profile - Configuration profile (optional).
     CURRENT  - Applies to the active profile.  Active profile can be domain,
                standard (i.e. private), or public. (default).
     DOMAIN   - Applies to the domain profile.
     STANDARD - Applies to the standard (i.e. private) profile.
     ALL      - Applies to the domain and standard (i.e. private) profile.
                Does not apply to the public profile.

 Remarks: 'scope' must be 'CUSTOM' to specify 'addresses'.
          'addresses' can not contain unspecified or loopback addresses.


     set portopening TCP 80 "My Web Port"
     set portopening UDP 500 IKE ENABLE ALL
     set portopening ALL 53 DNS ENABLE CUSTOM,,,
     set portopening protocol=ALL port=53 name=DNS mode=ENABLE scope=CUSTOM


netsh firewall set portopening - Windows Vista - command Sets firewall port configuration. - Windows Vista
netsh, firewall, set, portopening, cmd, command, Windows, Vista
Quick - Link:
netsh interface ipv4 add neighbors: Adds a neighbor address.
netsh ras aaaa set ipsecpolicy: Sets the IPsec policy for L2TP connection.
netsh interface ipv6 show interfaces: Shows interface parameters.
netsh winhttp help: Displays a list of commands.
netsh ipsec static add filter: Adds a filter to filter list.
netsh bridge show adapter: Shows the adapters configured as a single bridge.

... Home  
... Impressum
... ColorConsole

... CMD
... Netsh-XP
... Netsh-7
... Netsh-Vista
... Powershell

Download the Windows 10 Starter, Home (Basic Premium), Professional und Ultimate!

HTTP: ... cmd/en/Windows_Vista/netsh/firewall/set/portopening.htm

What is the difference between Windows 7 Home, Professional, and Ultimate?


Wie kann ich das Windows-7 Aero schneller machen, ohne es zu deaktivieren?


How much memory does windows 7 need?


Wer kann in meiner Chronik posten?