سلام من تو Nat/Firewall يه lan گذاشتم و ميخام
Inbound Filter و OutBound ّFilter براش تعريف كنم و چند تا پورت رو برا كاربرا ببندم
اما نميخوام visual كار كنم و ميخام با command از cmd يا هر چيزي بشه اون هارو اد كنم تو ليستش
راهي هست؟؟؟
سلام من تو Nat/Firewall يه lan گذاشتم و ميخام
Inbound Filter و OutBound ّFilter براش تعريف كنم و چند تا پورت رو برا كاربرا ببندم
اما نميخوام visual كار كنم و ميخام با command از cmd يا هر چيزي بشه اون هارو اد كنم تو ليستش
راهي هست؟؟؟
netsh firewall delete portopening protocol = TCP|UDP|ALL port = portnumber
برای مثال بستن پورت شماره 445 با پروتکل TCP
جزئیات و مثال های Commandکد:netsh firewall delete portopening protocol = TCP port = 445
کد:Used to delete an existing port-based exception. delete portopening [ protocol = ] TCP|UDP|ALL [ port = ] 1-65535 [ [ profile = ] CURRENT|DOMAIN|STANDARD|ALL [ interface = ] name ] Deletes firewall port configuration. Parameters: protocol - Port protocol. TCP - Transmission Control Protocol (TCP). UDP - User Datagram Protocol (UDP). ALL - All protocols. port - Port number. 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 togetherکد:Examples: delete portopening TCP 80 delete portopening UDP 500 delete portopening protocol = TCP port = 80 delete portopening protocol = UDP port = 500
از فایروال میشه این کارو کرد
اما متاسفانه رو سرور firewall stop هست تا کاربران بتونن به سرور وصل شن
بازم ممنون از راهنمایی :X
در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)