Tbam
Posts: 3
Joined: Tue Oct 28, 2014 11:10 am

Port Forward Raspberry pi

Tue Nov 25, 2014 5:05 pm

Hi,
I just want to know if is possible to create port forwarding on Raspberry Pi. I am streaming video between to Pis and want to redirect the stream to a laptop to display. I connected the raspberry pis via router and i was able to stream. Though once it display, the pi freezes and no continuation. Then i created ad-hoc link on second raspberry pi and connect to a window 7 laptop, the streaming is ok. Now i want to link the three devices by streaming from the first raspberry pi to the second pi via AP and then from the second pi to a laptop over ad-hoc network by redirecting the received output on pi two to the laptop.
Can anyone suggest way out on the two problems facing. first is that streaming between the pis freezes after the initial buffering and first display. secondly is how to create a port forwarding on pi to redirect the video to the laptop on ad-hoc link.
Thanks.

HiroProtagonist
Posts: 212
Joined: Sat Jun 29, 2013 9:45 am

Re: Port Forward Raspberry pi

Wed Nov 26, 2014 9:47 pm

It's difficult to work out from your question exactly what you're trying to do or what your problem is.

Why do you think you need port forwarding?

It sounds like you simply have an issue with routing, in which case what you want is IP forwarding. If you want to pass traffic A->B->C you will need IP forwarding enabled on B and static routes on both A and C so that both devices know that in order to connect A<->C, traffic needs to be routed via B.

Return to “Networking and servers”