As the title said, I am trying to set my mac as a ssh server. My mac's local IP is 192.168.0.21
and my external IP (router IP) is 98.202.108.***
. I went to the sharing and enabled the Remote Login. Also I tried to forward the local 22 port to external via my router. My router is a Motorola MG7315.
Here is a screenshot of my router’s forwarding rules:
However. In the internal network, I can
ssh [usrname]@192.168.0.21
or
ssh [usrname]@98.202.108.xxx
But on the external network, I can ping 98.202.108.xxx
but can't SSH to it. I asked Xfinity, they said my 22 port is not blocked. I closed all firewall, nothing happens. I tried the port forward tester, still I can't see the 22 port from the external IP.
I used nmap to scan my external IP (from port 1 to 100), it says All 100 scanned ports on c-98-202-108-xxx.hsd1.ut.comcast.net (98.202.108.xxx) are filtered.
Is this a problem of the router or something else I can do to get this working?