Zmiana portu RDP systemu Windows Server | INTROSERV
EUR
european

EUR

usa

USD

Poland Pl
Ex. VAT Ex. VAT 0%

Zmiana portu RDP systemu Windows Server

Zmiana portu jest konieczna, ponieważ pozostawienie domyślnego ułatwia potencjalnym atakującym znalezienie możliwości połączenia się z serwerem. Najpierw należy otworzyć port.

Port można otworzyć z poziomu wiersza poleceń. Ważne! W poniższym poleceniu zamiast NEW_PORT wpisz numer portu, którym chcesz zastąpić domyślny port RDP.

netsh advfirewall firewall add rule name="Custom RDP Port" dir=in action=allow protocol=TCP localport=NEW_PORT

lub w inny sposób:

Następnie należy przejść do"Panel sterowania" -"Zapora systemu Windows" -"Opcje zaawansowane"

W wyświetlonym oknie wybieramy "Nowa reguła"


Następnie wskazujemy port określony w punkcie 3, regułę, która będzie stosowana do połączeń z tym portem, typy sieci (tylko lokalne lub zewnętrzne) oraz nazwę reguły.


Zmiana portu

Otwórz edytor rejestru, w tym celu naciśnij Win + R i wpisz regedit

Otwórz gałąź
HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ TerminalServer \ WinStations \ RDP-Tcp

Wybierz parametr PortNumber, wybierz Decimal i zmień jego wartość na numer portu, którego planujesz używać, na przykład 55555 (domyślnie 3389).

VAT

  • Other

    Ex. VAT

    0%
  • austria

    Austria

    20%
  • Belgium

    Belgium

    21%
  • Bulgaria

    Bulgaria

    20%
  • Croatia

    Croatia

    25%
  • Cyprus

    Cyprus

    19%
  • Czech Republic

    Czech Republic

    21%
  • Denmark

    Denmark

    25%
  • Estonia

    Estonia

    22%
  • France

    France

    20%
  • Finland

    Finland

    24%
  • Germany

    Germany

    19%
  • Greece

    Greece

    24%
  • Hungary

    Hungary

    27%
  • Ireland

    Ireland

    23%
  • Italy

    Italy

    22%
  • Latvia

    Latvia

    21%
  • Lithuania

    Lithuania

    21%
  • Luxembourg

    Luxembourg

    17%
  • Malta

    Malta

    18%
  • Netherlands

    Netherlands

    21%
  • Poland

    Poland

    23%
  • Portugal

    Portugal

    23%
  • Romania

    Romania

    19%
  • Slovakia

    Slovakia

    20%
  • Slovenia

    Slovenia

    22%
  • Spain

    Spain

    21%
  • Sweden

    Sweden

    25%
  • USA

    USA

    0%
european
states
  • germany
  • Español
  • Italiano
  • Poland
  • Русский
  • Slovenski
  • Türkçe
  • ukraine
  • kingdom
  • French
  • Hrvatska
  • Other
  • Austria
  • Belgium
  • Bulgaria
  • Croatia
  • Cyprus
  • Czech Republic
  • Denmark
  • Estonia
  • Finland
  • France
  • Germany
  • Greece
  • Hungary
  • Ireland
  • Italy
  • Latvia
  • Lithuania
  • Luxembourg
  • Malta
  • Netherlands
  • Poland
  • Portugal
  • Romania
  • Slovakia
  • Slovenia
  • Spain
  • Sweden
  • USA