Camera model
Samsung a20e
What is the problem?
When connecting locally it works fine, the camera image shows up on the controls page .
But when I'm connecting remotely trough tailscale(vpn), it does not work.
Long story short ,I have a separate raspberry that runs pihole, octopi and my ip phone camera is configured trought pihole (It has a local dns entry), in octopi the Stream URL is:
http://pi.camera:8080/video
Very important , the phone camera is not introduced to the vpn tunnel (it does not have a vpn ip),so i can't access it trough vpn.
My question is that why does this occur, more exactly
I can access an octopi instance locally that can access the video stream.
But when I'm connecting to a octopi instance remotely, it does not see that stream anymore...
I know that stream URL does not exist for me (the vpn user), because it's not introduced to the vpn tunnel, but for octopi it still exists locally ,why can't it show it to me ?
This issue probably could be solved by introducing the camera to the vpn tunnel (make for the camera a vpn ip), but then I dont know how to automate switching between the streams (Use the local stream when connected to octopi localy and use the vpn stream when connected from a vpn user)