NETSH - Windows Vista / 2008

netsh » firewall » add » portopening

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

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

 Adds firewall port configuration.

 Parameters:

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

 port - Port number.

 name - Port name.

 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, or 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.

 Examples:

     add portopening TCP 80 "My Web Port"
     add portopening UDP 500 IKE ENABLE ALL
     add portopening ALL 53 DNS ENABLE CUSTOM
         157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,
         12AB:0000:0000:CD30::/60,LocalSubnet
     add portopening protocol=ALL port=53 name=DNS mode=ENABLE scope=CUSTOM
         addresses=157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,
         12AB:0000:0000:CD30::/60,LocalSubnet

NETSH / FIREWALL / ADD / PORTOPENING

netsh firewall add portopening - Windows Vista - command Adds firewall port configuration. - Windows Vista
netsh, firewall, add, portopening, cmd, command, Windows, Vista
Quick - Link:
netsh winsock show catalog: Displays contents of Winsock Catalog.
netsh ipsec static set policy: Modifies a policy.
netsh firewall set: Sets firewall configuration.
netsh p2p idmgr: Changes to the `netsh p2p idmgr' context.
netsh interface ipv4 show tcpconnections: Displays TCP connections.
netsh ras ip delete pool: Deletes all ranges from the static IP address pool.


 


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

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





;-)









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

... facebook.de
0.046
Customize the maximum memory under Windows (RAM, set, Restrict)?  / Add Windows-7 Desktop Gadgets to Windows 8.1 or Windows-10!  / Ihr Android Gerät unterstützt keine Datendienste, Fehlermeldung?  / Download DirectX 11 für Windows 7 (Direct3D 11)!  / X64, EM64T oder IA64 Prozessoren, wo ist der Unterschied?  / Probleme beim ersten Ausführen von Programmen unter Windows 8.1?  / Hilfe! Standard-Schriftart fett ist der Tot für meine Augen!  / Festplatte?  / How can I show the folders (dir) size in a column of the Windows-7 Explorer?  / Wallpaper bei TeamViewer Verbindung anzeigen?  / Where is the real Desktop folder path in Windows 8.1/8/ 10?  / Enable Remote Desktop on Windows-10 Home, how to?  /