PDA

Prikaži potpunu verziju : Otvaranje porta pomocu DOS-a?


jakob88
3.6.2009, 22:35
Kako otvoriti port u Dos-u kada je firewall iskljucen...
znaci komanda netsh firewall add portoprning ne pomaze...
ima li neki drugi nacin???

VojaM
4.6.2009, 14:02
Kako otvoriti port u Dos-u kada je firewall iskljucen...
znaci komanda netsh firewall add portoprning ne pomaze...
ima li neki drugi nacin???
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
[ interface = ] name ]

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
CUSTOM - Allow only specified traffic through firewall.

addresses - Custom scope addresses (optional).

profile - Configuration profile (optional).
CURRENT - Current profile (default).
DOMAIN - Domain profile.
STANDARD - Standard profile.
ALL - All profiles.

interface - Interface name (optional).

Remarks: 'profile' and 'interface' may not be specified togethe
'scope' and 'interface' may not be specified together.
'scope' must be 'CUSTOM' to specify 'addresses'.

Examples:

add portopening TCP 80 MyWebPort

add portopening UDP 500 IKE ENABLE ALL

add portopening ALL 53 DNS ENABLE CUSTOM 177.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet

add portopening protocol = TCP port = 80 name = MyWebPort

add portopening protocol = UDP port = 500 name = IKE mode = ALL

add portopening protocol = ALL port = 53 name = DNS mode = scope = CUSTOM addresses = 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnetInače, moguće da to radi samo kad je firewall uključen.

jakob88
4.6.2009, 14:14
Ne pomaze,
add portopening radi samo uz netsh firewall...
Hvala u svakom slucaju...aaa