Door deze site te gebruiken, u gaat akkoord met de Privacybeleid.
Accepteren
OndernemingOndernemingOnderneming
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Lezing: How to Create SQL Server 2016 Firewall Rules using GUI and PowerShell
Lettergrootte wijzigenAa
OndernemingOnderneming
Lettergrootte wijzigenAa
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
  • VENSTERS
  • SCCM-queryverzamelingslijst
Zoekopdracht
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
SQL-server

How to Create SQL Server 2016 Firewall Rules using GUI and PowerShell

Gepubliceerd: Februari 11, 2024
2 Min. gelezen
DEEL

How to Create SQL Server 2016 Firewall Rules using GUI and PowerShell.

Inhoud
With GUI:With PowerShell:

With GUI:

  1. Start the system and log in (with admin rights user);

2. Open Control Panel. Klikken op Windows Firewall;

3. After that click on Advanced Settings;

4. Windows Firewall console open. If you click on Eigenschappen (right side) – you can disable firewalls for all networks. We going to Inbound Rules (left side) for our rule creation;

5. Klikken op New Rule;

6. Rule creation process begins. In mijn geval, I create a rule for Inbound TCP ports. Voor Rule Type select option Port en klik Volgende;

7. Voor Protocol and Ports select option TCP En Special Local Ports. I use 2 ports for SCCM deployment (8080, 14331) and also added standard SQL TCP ports (1433,1434,4022). After entering ports click Volgende;

8. Voor Action (in this case leave by default Allow the connection). Klik Volgende;

9. Voor Profile, leave by default, klik Volgende;

10. Enter a name for your rule (for example SQL TCP Ports), so you can easily find it in the future. Klik Finish;

11. In the last screenshot, you see two rules, which I created for SQL Server. One for TCP ports and one for UPD port (1434).

With PowerShell:

  1. Run PowerShell as Administrator;

2. Enter text and press Enter:

New-NetFirewallRule -DisplayName "SQL TCP Ports" -Direction Inbound –Protocol TCP –LocalPort 8080, 1433, 1434, 4022, 14331 -Action allow

Some explanations:

-DisplayName “SQL TCP Ports” – Rule Name;

-Direction Inbound – Rule direction;

–Protocol TCP – Protocol (TCP or UDP);

–LocalPort – Your ports;

-Action allow – Allow or Disallow.

GETAGD:Microsoft SQL ServerMicrosoft Windows-serverPowershellSysteemcentrumSystem Center-configuratiemanagerTechnische preview
Vorig artikel Improve Configuration Manager Performance: Rebuild Indexes and SQL Memory and Database Limits
Volgend artikel Handleiding om SQL Server te installeren 2012 voor SCCM 2012 R2 | Stapsgewijze tutorial
Laat een reactie achter Laat een reactie achter

Laat een antwoord achter Antwoord annuleren

Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd *

Deze site gebruikt Akismet om spam te verminderen. Ontdek hoe uw reactiegegevens worden verwerkt.

Vertaling

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
door Transposh - Vertaalplugin voor Wordpress

Populaire berichten

Systeemvereisten voor Windows Server 2016
Windows-server
Configuration Manager Queryverzamelingslijst
Configuration Manager Queryverzamelingslijst
ConfiguratieMgr
Gestructureerde/beheerde navigatie ingeschakeld op moderne pagina's in klassieke teamsites
Technologie
SCCM Kan DP-locaties niet ophalen als de verwachte versie van MP
ConfiguratieMgr

Recente berichten

Fail2ban installeren en configureren voor SSH-bescherming op Ubuntu 24.04
Linux
FirewallD inschakelen en configureren op AlmaLinux
Linux
Gebruikers aanmaken en SSH-sleutel instellen in AlmaLinux
Linux
Hoe het wachtwoord op AlmaLinux opnieuw in te stellen
Linux

© 2023 Onderneming

Ga naar mobiele versie
Welkom terug!

Log in op uw account

Gebruikersnaam of e-mailadres
Wachtwoord

Wachtwoord vergeten?