Hello!
I have a big problem with double nat. I cant reach second router because it belongs to ISP provider so i cant forward ports. I need to connect to home assistant somehow beacuse i want to use Google Assistant.
I read sth about VPS/VPN? but i really dont know how to make it work. It would be good if i can do it for free beacause if i have to pay I would like to choose homecloud. It will be easier
Can someone make a tutorial (command after command) how to make it right? Or maybe even a video? I am very noob on linux/commands etc And i think u can help bunch of people with makling a video.
If you want to do it for free, you need access to open a port. Seems pretty straightforward to me. No amount of command line magic is going to magically open up a port that you can’t open.
By default routers block all internet access to your local home network. Only communication that is initiated from the inside is possible.
Port forwarding is a way to provide access for a specific type of traffic to a specific host in your local network. For example https traffic over port 8123 to a Home Assistant.
In your case you can not configure your router. That makes it very hard to setup internet traffic into your home network. If you want to setup an VPS at some cloud provider and use an VPN tunnel, you can only initiate that VPN tunnel up from a host in your local network to the a VPS in the public cloud. After all the ISP router blocks all traffic that is initiated from the outside. This type of VPN tunnel is called a reverse VPN tunnel.
In such a case you run your VPN server on the VSP in the cloud and you use a VPN client on a host in your local network. The VPS has two (virtual) network interfaces. One is connected to the internet and the other one to the tunnel. Between those two interfaces you need a virtual router (with nat) where you configure port forwarding.
As long as that VPN tunnel is there you can extent your home network to one of the network interfaces of the VPS. This VPN tunnel can handle traffic in both directions. To avoid that the VPN tunnel gets interrupted you probably need to send some ‘keep alive’ traffic from the inside to the outside.
Your are looking for a noobs tutorial and I haven’t seen those. VPN’s are quite complex and reverse VPN’s are even more complex. Here is an example with tinc vpn
This is very complicated. Assume I did everything. Can I use google assistant by using this method? Or it allows me to watch panel only? Probably i will buy Home Assistant Cloud- it is much easier