netsh » firewall » set » portopening

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1986-2001 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 [ interface = ] navn ] Indstiller portkonfigurationen for firewall. Parametre: protocol - Portprotokol. TCP - Transmission Control Protocol (TCP). UDP - User Datagram Protocol (UDP). ALL - Alle protokoller. port - Portnummer. name - Portnavn (valgfri). mode - Porttilstand (valgfri). ENABLE - Tillad gennem firewall (standard). DISABLE - Tillad ikke gennem firewall. scope - Portområde (valgfri). ALL - Tillad al trafik gennem firewall (standard). SUBNET - Tillad kun lokal netværkstrafik (undernet) gennem firewall. CUSTOM - Tillad kun angiven trafik gennem firewall. addresses - Brugerdefinerede områdeadresser (valgfri). profile - Konfigurationsprofil (valgfri). CURRENT - Nuværende profil (standard). DOMAIN - Domæneprofil. STANDARD - Standardprofil. ALL - Alle profiler. interface - Grænsefladenavn (valgfri). Bemærkninger: 'profile' og 'interface' må ikke angives samtidig. 'scope' og 'interface' må ikke angives samtidig. 'scope' skal være 'CUSTOM' for at kunne angive 'addresses'. Eksempler: set portopening TCP 80 MyWebPort set portopening UDP 500 IKE ENABLE ALL set portopening ALL 53 DNS ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet set portopening protocol = TCP port = 80 name = MyWebPort set portopening protocol = UDP port = 500 name = IKE mode = ENABLE scope = ALL set 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,LocalSubnet

NETSH / FIREWALL / SET / PORTOPENING


Quick - Link:
netsh interface portproxy show
Viser oplysninger.
netsh routing ipx rip set
Indstiller konfigurationsoplysninger.
netsh ras ipx set pool
Angiver RAS IPX-adressegruppen.
netsh interface ip show dns
Viser DNS-serverens adresser.
netsh routing ip relay show global
Viser global konfiguration af DHCP Relay Agent.








Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



Indstiller firewall-portkonfiguration. / Windows 2000/XP

HTTP: ... cmd/dk/Windows_XP/netsh/firewall/set/portopening.htm
0.046
16644

Do not Sleep parameter example!

Energy saving mode, balanced and maximum performance difference!

Verzeichnisbaum in der Explorer Adresszeile verwenden!

Maus Kugeln für den Mauszeiger am Windows 11, 10, ... Desktop oder MS Server OS!

Right Q-Dir Version!

Animierte GIF-Unterstützung im Vorschaufenster der Datei Explorer!



(0)