Windows Configuration
Jump to navigation
Jump to search
Internal
Network
Windows Firewall
Add a Custom Rule that allows SSH Access
This configurations procedure was tested to allow inbound access to a sshd daemon running on Windows Subsystem for Linux.
By default, the Windows Firewall will not allow inbound connections on port 22. It has to be configured as follows:
Start -> Cog Wheel (Windows Settings) -> Network and Internet -> Ethernet -> Right menu -> Windows Firewall -> Advance Settings -> Inbound Rules -> New Rule -> Port -> TCP, Specific local ports: 22 -> Allow the connection -> When does this rule apply? -> Check all -> Name "sshd on Windows Subsystem for Linux"