Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. REM ========= SQL Server Ports ===================
  2. netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 profile = DOMAIN
  3. netsh advfirewall firewall add rule name = SQLAdmin dir = in protocol = tcp action = allow localport = 1434 profile = DOMAIN
  4. netsh advfirewall firewall add rule name = SQLBroker dir = in protocol = tcp action = allow localport = 4022 profile = DOMAIN
  5. netsh advfirewall firewall add rule name = SQLRPC dir = in protocol = tcp action = allow localport = 135 profile = DOMAIN
  6. netsh advfirewall firewall add rule name = SQLBrowser dir = in protocol = udp action = allow localport = 1434 profile = DOMAIN
  7. REM ========= Reporting Services Ports ==============
  8. netsh advfirewall firewall add rule name = SQLRptSrvcHTTP dir = in protocol = tcp action = allow localport = 80 profile = DOMAIN
  9. netsh advfirewall firewall add rule name = SQLRptSrvcHTTPS dir = in protocol = tcp action = allow localport = 443 profile = DOMAIN
  10. REM ========= Analysis Services Ports ==============
  11. netsh advfirewall firewall add rule name = SQLAnalySrvc dir = in protocol = tcp action = allow localport = 2383 profile = DOMAIN
  12. netsh advfirewall firewall add rule name = SQLAnalySrvcBrwsr dir = in protocol = tcp action = allow localport = 2382 profile = DOMAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement