Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM ========= SQL Server Ports ===================
- netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 profile = DOMAIN
- netsh advfirewall firewall add rule name = SQLAdmin dir = in protocol = tcp action = allow localport = 1434 profile = DOMAIN
- netsh advfirewall firewall add rule name = SQLBroker dir = in protocol = tcp action = allow localport = 4022 profile = DOMAIN
- netsh advfirewall firewall add rule name = SQLRPC dir = in protocol = tcp action = allow localport = 135 profile = DOMAIN
- netsh advfirewall firewall add rule name = SQLBrowser dir = in protocol = udp action = allow localport = 1434 profile = DOMAIN
- REM ========= Reporting Services Ports ==============
- netsh advfirewall firewall add rule name = SQLRptSrvcHTTP dir = in protocol = tcp action = allow localport = 80 profile = DOMAIN
- netsh advfirewall firewall add rule name = SQLRptSrvcHTTPS dir = in protocol = tcp action = allow localport = 443 profile = DOMAIN
- REM ========= Analysis Services Ports ==============
- netsh advfirewall firewall add rule name = SQLAnalySrvc dir = in protocol = tcp action = allow localport = 2383 profile = DOMAIN
- 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