linux - Issues SSHing to Raspberry Pi From External IP -


i've been trying ssh rpi external network while little luck. i've followed guides , same things: ssh set up, port forward on port 22, , connect using external ip address. i've been able ssh rpi using internal ip same network no problem, not external ip. configuration port forwarding:

enter image description here

that internal ip rpi's ethernet connection. i've tried ip wifi , has same effect. when try ssh using external ip, times out no matter internal ip port forwarded (ethernet or wifi). i've tried both on putty on pc , macbook using

sudo ssh pi@my.external.ip.address

it still times out. thing can think might happening issue firewall, have no idea how firewalls work if has been seen before , firewall issue, more detailed guide nice.

even if issue not known, there way debug ssh call , see it's failing when use external ip? kind of appreciated.

i struggled through lot of pi. alvits suggests, if trying connect pi via lan won't work. need test external ip address.

you shouldn't need sudo either.

if still using pi/raspberry username , password, change asap. once firewall open won't take long before start see bots trying log in. think 30 minutes on machine. interesting few days, annoying. attacks stopped when moved off of port 22.


Comments