Open PowerShell run as administrator
$ New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
Test :
$ echo -n | telnet your_ip_public ssh_port
$ tcping -t your_ip_public ssh_port
Source :
https://www.google.com/search?q=expose+ssh+to+internet+windows+server

Comments
Post a Comment