0

I have a Raspberry pi 3 with a connected EG usb key on it. The communication is established and works well. In an other part, i have configured my Raspberry with a pi-camera. I can see in local network in firefox the result of the camera. I have a server with an IP adress witch is connected to internet throught a proxy.

I know that the 3G key does not have a fixed IP. And I can't connect and from outside to the camera. ( server connected on the raspberry )

What i would like to do is to send the streamed video to the server with only the 3G usb key network connected on my Raspberry. ( raspberry send video directly on the ip adress of the server )

Is it possible and if yes how?

0

3 Answers 3

0

If I understand you right, you might use a ssh tunnel: this will enable to access the machine with the 3G dongle from the internet even though its IP address is not only variable, but not accessible. You can google for "ssh tunnel" or look https://blog.trackets.com/2014/05/17/ssh-tunnel-local-and-remote-port-forwarding-explained-with-examples.html.

0

You need to setup something called Dynamic DNS (DynDNS). This will give you an always accessible domain name, reachable from the outside.

There are plenty such solutions. Here are two sources:

1
  • I have look this solution. But if i understand what you propose i need a dyndns by rasperry. I want to send video flux on the server where the rasperry is connected to network by 3G usb key Commented Mar 9, 2018 at 12:34
0

You can use ngrok

Not sure I understood if the raspberry pi is the client or server in your case, but it doesn't really matter :)

You install ngrok on the server machine, and then tell ngrok which port you want to publish. it will give you a random DNS on the free version, or you can pay and then reserve a DNS, then you can access you server from any internet-connected device.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.