2

I'm running RaspBMC on my Raspberry Pi connected to a router with the port 5555 forwarded to the 22 port on Raspberry Pi.

When I SSH to Raspberry Pi from LAN everything works, but I have troubles when I'm connecting to it remotely.

$ ssh myPublicIp -p5555 -v`
Connection timed out

I have no idea why port forwarding isn't working correctly. Any suggestions?

  • 1
    Could be an issue with your iptables, have a look at this thread – Tim Jan 12 '14 at 3:22
  • Are you using any firewalls? Does your ISP block non-standard ports? – Nilpo Jan 12 '14 at 5:03
1

According to link from @Tim (Thanks!) my problem was solved by simple

sudo iptables --flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.