Support articles
Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.
How to block inbound or outbound RDP connection with the Elements Endpoint Protection firewall?
Last updated
Issue:
How to block inbound or outbound Remote Desktop Protocol (RDP) connection with the Elements Endpoint Protection firewall?
Resolution:
Firewall rules are created from the Elements Endpoint Protection profile. Follow these steps to get to the correct profile settings page:
- Log in to the Elements portal: https://elements.withsecure.com
- Open the Security configurations section from the menu on the left
- Go to the Profiles page
- Select the profile you want to edit
- Note: Only custom profiles created by you can be modified. Default WithSecure profiles are read-only
- Go to the Firewall settings page
Here, we first recommend to check the WithSecure firewall mode is set as Turn on WithSecure Firewall. Then you need to confirm that the WithSecure firewall profile is set as Normal workstation.
Scroll down do the WithSecure firewall profiles section and expand the Normal workstation profile.
For blocking outbound RDP, there are already pre-made rules in the Firewall rules table. Scroll down in the firewall rules list then you can simply enable these two rules:
- Block RDP outbound over TCP traffic
- Block RDP outbound over UDP traffic
For blocking inbound RDP traffic, you need to create two new rules, one for TCP protocol and one for UDP protocol.
TCP Protocol:
- Click Add rule from the top of the Firewall rules table
- Enter a name to the rule: Block inbound RDP traffic over TCP
- Set action as Block and direction as Inbound. You can yourself choose if you want an alert or not if inbound RDP connection is blocked.
- Set Protocol as TCP and Local ports as 3389
UDP Protocol:
- Click Add rule from the top of the Firewall rules table
- Enter a name to the rule: Block inbound RDP traffic over UDP
- Set action as Block and direction as Inbound
- Set Protocol as UDP and Local ports as 3389
After creating the new rules, you can click on Save profile.