(fix) Windows Defender Firewall may block SSH even though Fort allows it #556
Pinned
mlibre2
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The problem arose when I tried to reinstall OpenSSH, for some reason it didn't add the rule to the firewall and ended up blocking my connections, another thing to consider is that if your network changes from public to private or vice versa it may conflict with the rules.
There are two solutions, the first would be to add the rule manually:
powershell:
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22... is to disable the Windows Defender firewall so that Fort can do its job in peace:
regedit:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvcedit the named REG_DWORD value:
Startchange it to this other one
2to4this will prevent it from starting with the system.
Important
If you decide to perform the second step or disable it directly from firewall.cpl, enable all Fort Self-Protection options.
As clearly indicated here, It is not necessary to have both firewalls active, they can still coexist together but problems like the one mentioned above may arise.
All reactions