Admin-Ahead Community

Windows => General Windows => Topic started by: jominj on February 14, 2014, 09:57:30 pm

Title: Add program through firewall using CMD in windows server 2008
Post by: jominj on February 14, 2014, 09:57:30 pm

netsh firewall add allowedprogram C:\MyApp\MyApp.exe "My Application" ENABLE


netsh firewall add portopening TCP 80 "Open Port 80"


netsh firewall delete allowedprogram C:\MyApp\MyApp.exe


netsh firewall delete portopening protocol=UDP port=500