Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: MZ6Alex on July 03, 2019, 03:02:12 AM

Title: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: MZ6Alex on July 03, 2019, 03:02:12 AM
Hi All, I'm currently having an issue where I cannot remote desktop into my computer because Avast Firewall is actively blocking in the incoming connection attempts. I cannot for the life of me get it to stop doing this and am becoming very frustrated.

I'm just going to bullet point everything below since I think it will be easier to explain:

So, am I missing something or is this some kind of bug? I don't know what else to do.

Thanks in advance!
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: Asyn on July 03, 2019, 05:17:03 AM
Set the Avast Firewall to private mode and reboot.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: MZ6Alex on July 03, 2019, 05:35:32 AM
I did try this, but with no luck. Although maybe it's also worth noting that for some reason this setting is not persistent for me either. Every time I restart the computer I get the pop-up in the bottom right corner asking me if the network is private or public (gets set to public by default and I have to change it). The computer is connected via ethernet (no wi-fi card installed).
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: Asyn on July 03, 2019, 05:45:46 AM
Try the Geek Area settings, mentioned here: https://forum.avast.com/index.php?msg=1505540
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: MZ6Alex on July 03, 2019, 06:44:08 AM
Yes! That worked! Thank you! ;D
What do these changed settings do then? Are there any security implications to be aware of from making the changes?
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: Asyn on July 03, 2019, 06:51:13 AM
You're welcome.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: rtd3 on November 07, 2019, 08:40:42 PM
I'm replying to this post because it describes exactly what I am experiencing.

I have had Avast Firewall working great, but then I received an Avast program update and I'm assuming something was changed in my environment.

In a nutshell,
1. I have the firewall turned on.
2. In the settings I have allowed Remote Desktop Connections.
3. In the application rules, I have added a line for TCP/UDP in from port 3389
4. In the Geek:area I have Internet Connection Sharing mode enabled, as well as "Allow all connections with Friends".  The other flags in the Firewall area are turned off.
5. My Network connections are private.
6. I can rdp in when I am doing so from within my own network.
7. I can rdp in from outside my network only when I turn off the Avast Firewall.
8. I also do not get any blocking entries in my firewall log.
9. Both of the systems I am using are windows 10.

Very Frustrating..   Any ideas/thoughts are appreciated..
Thank you.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: r@vast on November 08, 2019, 11:18:54 AM
I'm replying to this post because it describes exactly what I am experiencing.

I have had Avast Firewall working great, but then I received an Avast program update and I'm assuming something was changed in my environment.

In a nutshell,
1. I have the firewall turned on.
2. In the settings I have allowed Remote Desktop Connections.
3. In the application rules, I have added a line for TCP/UDP in from port 3389
4. In the Geek:area I have Internet Connection Sharing mode enabled, as well as "Allow all connections with Friends".  The other flags in the Firewall area are turned off.
5. My Network connections are private.
6. I can rdp in when I am doing so from within my own network.
7. I can rdp in from outside my network only when I turn off the Avast Firewall.
8. I also do not get any blocking entries in my firewall log.
9. Both of the systems I am using are windows 10.

Very Frustrating..   Any ideas/thoughts are appreciated..
Thank you.

Hi,
You mentioned that it only occurred after the update.
I would suggest that you "Restart" (not reboot) your PC.
If you have already done so and are still experiencing the issue, please post a support file id here or PM me.
Please follow these steps:
1. Open - Avast Premium Security > Click on -  Menu > Settings > General > Troubleshooting > Select - Enable debug logging (at the bottom)
2. Please try to connect again to the PC in question.
3. Please generate the support file and reply with the support file id.

To generate the support file, please see this link.
https://support.avast.com/en-ww/article/Submit-support-file


Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on January 09, 2020, 06:41:06 PM
Unfortunately I have the same prolem: some days ago the possibility of remote desktop with AVAST firewall  ended. However I haven't remote desktop even from local network. The settings and OS are the same than in case of rtd3.   Could you help?
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: r@vast on January 10, 2020, 10:18:31 AM
Unfortunately I have the same prolem: some days ago the possibility of remote desktop with AVAST firewall  ended. However I haven't remote desktop even from local network. The settings and OS are the same than in case of rtd3.   Could you help?

Hi,

please post a support file id here.
Please follow these steps:
1. Open - Avast Premium Security > Click on -  Menu > Settings > General > Troubleshooting > Select - Enable debug logging (at the bottom)
2. Please try to connect again to the PC in question.
3. Please generate the support file and reply with the support file id.

To generate the support file, please see this link.
https://support.avast.com/en-ww/article/Submit-support-file
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on January 13, 2020, 08:51:32 PM
The file id is X9VA8. Hope for solution.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: r@vast on January 15, 2020, 08:50:44 AM
The file id is X9VA8. Hope for solution.

Hi, please make sure that you have (allow "All connections" for RDP mstsc.exe in Application rules.
Please see the attached screenshot.

Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on January 16, 2020, 10:42:06 PM
Made new packet rule. Unfortunately without success. . By the way new problem arised: no able to connect my samsung TV via my laptop when avast firewall on. Very unhappy. Considering uninstall avast premium and get along windows firewall...
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on January 16, 2020, 10:44:56 PM
Sorry made new application rule.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: r@vast on January 17, 2020, 02:02:12 PM
Made new packet rule. Unfortunately without success. . By the way new problem arised: no able to connect my samsung TV via my laptop when avast firewall on. Very unhappy. Considering uninstall avast premium and get along windows firewall...

Hi,

Thank you for the provided information.
Could you provide us with a new log file, please?
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on January 18, 2020, 07:54:55 PM
After unsuccessful RDP attempt from my laptop the log file id is CVMBQ.
Thank you in advance.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: bob3160 on January 18, 2020, 11:00:30 PM
After unsuccessful RDP attempt from my laptop the log file id is CVMBQ.
Thank you in advance.
You may need to wait till Monday for a reply.
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on January 27, 2020, 07:58:25 AM
I replied to you om Jan 17 with"After unsuccessful RDP attempt from my laptop the log file id is CVMBQ.
Thank you in advance."
Only Uberevangelist replied and kindly asked me to wait till Monday (Jan 20, I expect) but nothing from you.
Waiting...
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: Asyn on January 27, 2020, 08:15:38 AM
Hi, I reported it...
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: r@vast on January 28, 2020, 12:30:36 PM
@shmeld

Sorry for only getting back to you now.
Could you please post a screenshot of
System rules (Menu> Settings > Protection > Firewall > System Rules)
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: shmeld on February 02, 2020, 10:39:47 PM
Hello!
Here you have the screenshot you asked for.
Thank for your advice in advance!
Ivar
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: r@vast on February 10, 2020, 04:56:08 PM
Hello!
Here you have the screenshot you asked for.
Thank for your advice in advance!
Ivar

Hi,

According to the information you provide, your settings seem to be correct.
Would you mind uninstalling your current version and installing the beta version 20.1?
https://forum.avast.com/index.php?topic=232096.0
Title: Re: Firewall Blocking RDP Connections and Ignoring Custom Rules
Post by: rizziot on May 05, 2020, 09:35:31 PM
For anyone else having this issue, this is what worked for me.

Many threads on this topic say to make sure you avast premium network is in private mode.

If you look at the logs when the RDP is blocked it will likely show that the TCP/UDP public blocks the request to the RDP port.

First Step

Next step open Packet Rules