We are trying to transmit a video-stream via netcat from a OpenVPN server to a client.
The server is a Raspberry Pi with Pidora running on it. The client is a Notebook with Ubuntu 12.04 and has a IPv6 connection.
OpenVPN
The Notebook is able to connect to the PI. By pinging the server/client, packages are transmitted.
Netcat
The firewall is open for port 5001.
By running:
(On Ubuntu)
nc6 -l -p 5001
(On the Raspberry)
nc6 10.8.0.6 5001
We are able to transmit text messages. Sending files by running
(On Ubuntu)
nc6 -l -p 5001 > test.txt
(On the PI)
cat test.txt | nc6 10.8.0.6
also works for small text-files (Python skript).
If we try to send pictures (.jpeg) or 2sec videos (.h264) the targeting file stays empty.
We also tried the connection to different PCs (Windows, Fedora) and this worked properly by displaying the video-stream. But they were not in the same network as the Ubuntu machine.
Any suggestions?
Thanks in advance.
UPDATE:
By setting the MTU to 1390 like here described, bigger packages could pass the tunnel and the video-stream worked.