thanks for replying .
quite a long response
is your question: “is there a way to access a server with a private internet address aka 10/8, 172.16/12 or 192.168/16 where I have no access to the router to the public internet and therefore can’t configure port forwarding to my device?”
if no: please draw a picture because it would make more clear what’s your setup.
Answer is Yes.
but both are [private internet addresses]. right?
not sure what u just asked,
i mentioned that the device will act as a phone, it will receive a private ip from the nextwork switches/router (via dhcp) or w.e they implement there, and will go out to the internet via an public/external ip that i dont own the hardware of.
the NAS indeed does not being assign on a network card with an external ip (like a VPS for example) , it does receive an dhcp local ip and have internet connection via the switches and router/modem.
(just a side note, there is some ISP that even if u have a connection it will put u behind a nat. i mean u have access to the router and the router does connect to the isp via cable/adsl/broadband/fiber and when the router is being assign with an ip/external ip. this ip will be a nat one meaning multiple people routers have the same ip. but again this is a side note and not really important for what i am looking for.)
as mention in my solution (the p2p solution where i explained about the online camera world) there is all the basic information on how that works.
what u are saying about the relay is totaly right,
but the alternative way to approach it is wrong.
i know there is a vpn way to do it, but its not a right one to do.
the reason being is
1, u have to connect each and every station (pc/handset) to the vpn so they will be in the same network and that for they will be able to communicate with each other.
the draw back of this is speed and latancy and a burden to install a vpn on each client and set it up (managing it all) , to much point of failure , server is not responding,client not responding, hard for non technical users to fix the problems on the vpn client point, managing a list of users and password for the vpn connections .a real burden .
so now if i want to connect to my nextcloud i have to connect to a vpn before…? not easy to use for a non technical person , to be honest its an hassle
2, u have to yet open a port somewhere to allow the vpn communication (aka connect to the vpn server) , either if u decide to purchase a vps and setup a vpn there, or installing a vpn option on the NAS itself)
meaning u still can be compromise even tho its not likely because 0 days as to be used, but it still can happen. and again this is not a real p2p solution.
dont get me wrong the relay server is exactly what is needed here.
but perhaps if it does not exist maybe it is worth to implement this p2p/cloud option into nextcloud this will be a game changer.
about zerotier, thanks for letting me it exist, but after reading and understanding how it works its exactly the same as a vpn , u just connect to a vpn server and u get an id , this id is to join the same “group”/network for different devices .
with a p2p solution u dont need to open ports, port forwarding, dmz,setting up a dns, no nothing (for the user ofc) , u dont need to lose speed(bandwish) , and latency .
basically a p2p server will connect both the client and server together but with out losing any of the draw back that a vpn gives.
u dont need to compromised with anything with p2p not latancy,not security etc…
here an example
i explained in the nutshell how the p2p works
hoped u understand me correctly (i mean i repeated my self like 2-3 times already so im not sure if what i am saying is not clear, or all this idea is totaly new for u guys .)
anyhow thanks again for all the help that u guys are doing for the community