RDP and VNC can't connect over VPN after update to Win 11, rollback to 10 and then windows reset

RDP error: This computer can't connect to the remote computer Try connecting again. If the problem continues contact the owner of the remote computer or your network administrator.

VNC error: Failed to recv dat from socket.

Test-NetConnection true for RDP port and VNC ports. No packet loss either.

Sonicwall Global VPN setup worked fine until Win 11 upgrade, rolled back to 10 then did a reset.

Have tried everything on google under the sun for this, registry entries for RDP forcing to disable UDP, Tweaking's windows repair utility, turning off IP6, Windows reset, Sonicwall been rebooted, local router rebooted. Windows firewalls on/off makes no difference. added exceptions tests the same whether it's on or off. Kinda at the end of my rope other than nuking the drive and really starting from scratch here. No third party security software is used, it's just Windows Defender on the remote PC. nothing has changed on the server. Everything has been rebooted. Also ran wireshark and (I'm a novice with it) saw that the SYN was sending but resending and no ACK comes back.

Posted Jun 15, 2023, 8:24 PM UTC

119
AutoModeratorMOD•

Much of reddit is currently restricted or otherwise unavailable as part of a large-scale protest to changes being made by reddit regarding API access. r/sysadmin has made the decision to not close the sub in order to continue to service our members, but you should be aware of what's going on as these changes will have an impact on how you use reddit in the near future. More information can be found here. If you're interested in alternative r/sysadmin communities during the protests, you can join our Discord or IRC (#reddit-sysadmin on libera.chat).

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1
nickborowitz•

firewall maybe?

1
Koolaid76OP•

Tried it on and off on both ends.

1
nickborowitz•

Shit you said that already sorry.

2
nickborowitz•

This computer can't connect to the remote computer Try connecting again. If the problem continues contact the owner of the remote computer or your network administrator.

Are you trying to connect by DNS name or IP? Try IP maybe the DNS isn't working right

1
Koolaid76OP•

It is only connecting over IP DNS not a factor.

1
nickborowitz•

Try to set this value to 1 in the registry for Windows 11 client to work outside the network
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
KEY VALUE - fClientDisableUDP SET TO 1

1
Koolaid76OP•

should have been more specific I mentioned this has already been done registry entry to force disable UDP.

1
nickborowitz•

Sorry again. Just trying to think of anything I can to help

2
despich•

I definitely suspect the firewall on the workstation is getting activated. VNC is very basic. RDP can be a little trickier but at least usually gives a decent error message when you can't connect.

Are both computers on the same subnet or separated by some sort of firewall? (although not sure why upgrading the workstation to windows 11 would make the firewall act differently).

If you are remote do you have another computer at the remote side that you can do some port testing with to see if it's the workstation or the firewall in between.

1
Koolaid76OP•

How would this possibly explain Test-NetConnection being successful?

1
despich•

Don't know exactly. Doesn't make sense, something somewhere is being missed. Anything in the event logs of the remote computer?

1
Koolaid76OP•

Nothing.

1
despich•

Sorry man, If it's just the one workstation and you are still stumped, maybe just swap it out. We unfortunately don't get to "solve" every problem, often easier just to avoid them...

2
xendr0meSenior SysAdmin/Security Engineer•

Latest Global VPN client version?

1
Koolaid76OP•

4.10.7

1
xendr0meSenior SysAdmin/Security Engineer•

Try 4.10.8.1108?

1
Koolaid76OP•

Just tried that. Didn't work.

1
SpecificCurrent97•

I wonder if its a certificate problem, thats been my problem in the past

Try using other rdp softwares

1