ASUS router-specific setup questions


What is the problem?
I'm using a high end ASUS router that supports VPN and DDNS. How can I best set this all up with Octoprint? Also I'm running 2 raspies each with a single printer, so how can I make this robust enough for multiple printers?

What did you already try to solve it?
so many things! The router seems to be setup right and each pi has a unique name but DDNS doesn't recognize them.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)


You set up the VPN via the routers web admin ( usually)

and once configured you can use the OpenVPN client on a windows machine outside your network to VPN back into your network.

Once you have completed your VPN connection back home you can access octo just like you do current while at home http://192.168.1.x
or 0 in the third octet, but I think Asus routers use "1"


I'm confused. I want the octoprint to connect via vpn. Also I can only find it via ip not DDNS for some reason.


Yup. we are on the same page. you do not need to set up anything on octoprint.

you need to set up your router to allow you to VPN in while you are "not home"

Try this:

this pretty closely follows what it is like on my Asus. Get this figured out first..then worry about the DynDNS. Asus makes DynDNS easy too they have their own domain for it.


Yep I was over thinking it. VPN works now. DDNS not so much.


yeah - not really hard once you understand the concept. now on to the DynDNS.

Asus has a service that is built into the router. I THINK its called.

so you can register for example and than use that to get back to your home network once you out side and trying to phone home.

Have you found any reference to what im talking about inside your router? They are all a bit different and I dont know which model you have...


Yeah it’s setup up too but how do I navigate to each pi?


So each Pi has an internal up address.


You need to know that ip.

Say you are remote. You VPN in and now you are as good as home so you open a web browser and connect to 192.168.x.x address. Just like you are at home.

Unless I’m missing something I tho k that answers what you are asking.

Ps. Or ssh to each ip. But I’m pretty sure you mean the web.


Maybe I'm confused again. VPN to ip works fine now. Thanks for that! But doesn't work unless I port forward one of my two pies. Is there a way to assign DDNS names to each Pi? without port forwarding?


You are confused again. The dyndns goes into your vpn client so you do not need to remember your isp ip if it changes.

Port forwarding is going to open up “holes” in your router to allow to you access your pi (and anyone else) with out encryption.

You are almost there.

What are the 192.168.x.x IPs of your pi’s?


I think I understand where I was confused before. I assumed DDNS would work similarly to DNS and I could assign subdomains to individual computers. I guess that is not how it works.


Correct. That is how it works but only to your network from outside your house. Not for each machine.

Leave home.
Use dyndns to vpn back into home
Open web browser.

Use 192.168.1.x to connect to Pi’s


Got it! Thanks for clearing this all up! It works great now!


Awesome. You are welcome


In this situation (if you're forced to use IP addresses in your browser)...

  • issue a static IP to each printer in your router
  • edit (via Administrator user on Windows) your C:\Windows\system32\drivers\etc\hosts file, adding one entry for each of your printers; on a Mac, this would be /private/etc/hosts instead. The entry might look like: octopi

Then go to http://octopi.local/ for example.


Thank you so much!!!

It worked perfectly!!!


Helpful thanks very much