Page 1 of 1

How do I access octoprint from outside my network??

Posted: Sun May 15, 2016 1:22 am
by Farr0wn3d
I have a Pi 3 and I have octoprint running on it and I can access it from my own network, but I want to be able to access it from my phone and monitor it when I'm not home. Does anyone know how to do this??

Re: How do I access octoprint from outside my network??

Posted: Sun May 15, 2016 1:33 am
by tks546

Re: How do I access octoprint from outside my network??

Posted: Sun May 15, 2016 1:35 am
by sthone
I don't exactly know how to do it but I'm pretty sure you have to allow port forwarding on your router.

Re: How do I access octoprint from outside my network??

Posted: Sun May 15, 2016 4:43 am
by Farr0wn3d
I've read that but I dont know what that is or how to do it. I have an apple airport extreme router if that helps? lol

Re: How do I access octoprint from outside my network??

Posted: Sun May 15, 2016 5:12 am
by jsc
Here is a tutorial on setting up port forwarding with an Apple Airport Extreme. If that doesn't work for you, google "airport extreme port forwarding".

https://www.rainmachine.com/support/por ... -HTTPS.pdf

You will want some form of dynamic DNS set up so you can refer to your IP address from the outside using a nice name instead of an IP address which can change from time to time. I like duckdns.org because it's free, but you must figure out how to set it up yourself. There are instructions on that site on how to install it in various systems.

From some half hearted searches, it looks like Airport Extreme routers will do what is called "NAT loopback" or "hairpin routing", which means you can use your external IP address/port to access your machine even from inside your network. So you should be able to access, say, http://farrown3d.duckdns.org:5000/ from both inside and outside your network and have it end up at the same place. Good luck! If you have any specific questions, I may be able to help.

Re: How do I access octoprint from outside my network??

Posted: Sun May 15, 2016 5:17 am
by Farr0wn3d
PERFECT! thanks JSC thats exactly what I needed!

Re: How do I access octoprint from outside my network??

Posted: Mon May 16, 2016 1:51 pm
by willnewton
Man, I wish I had that instruction PDF when setting mine up!

I use MotioneyesOS on Raspi 2's to monitor my printer and set up my Airport for external access in a similar way to the PDF.

It seems a bit complicated, but after you have done it once, it's not hard to add more.