Trying to connect to the SCP server outside of the local network
I've been trying for hours to allow SCP connections to my Pi for hours and am having no luck with it. Every time I try and connect it the connection just times out. Anyone have any idea why?
Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
@EvilNick2 what credentials did you put in for login?
I put in my public ip and the port that the SCP server is opened on. I'm not sure if I need to find the public ip of the Pi itself and if I do I don't know how to do that
Related post from myself: Right here
I put in my public ip and the port that the SCP server is opened on. I'm not sure if I need to find the public ip of the Pi itself and if I do I don't know how to do that
-
To get the public IP of your pi, start a terminam session on your OS-System (can be done over the balena dashbaord webpage) and enter the following command: curl icanhazip.com The output will be your Pi's public IP
-
You now need to configure your router so that all traffic coming from your Pi's public IP on port 22 gets redirected to your internal port 22.
Once that's set up, you should be ready to go!
@MadMowgli I've got the public IP of my Pi but I'm not sure how to do the second part of your post
@EvilNick2 terrible sorry for the late answer. Check out this wholesome tutorial about port-forwarding from NoIp. Let me know if you're having any struggles with it.
Closing due to inactivity. The short solution is to just get the public ip of the pi, ip forward it and use noip to use it in a hostname.