Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some security camera systems in different locations, each location does have internet, the ISP is NATing all the IPs so theres no way to open ports to my systems.

My solution was to rent a VPS with Debian, install OpenVPN server on it, place a computer with openVPN client next to each system, and enable routing on it.

The final step is to redirect different ports on the server to different sites, I used rinetd (which is most probably one of my problems)

The TCP connections are working, I can see the HTML pages of the security systems by accessing the address of the VPS:port, but no video is being streamed. my guess is that it is because it is using UDP and rinetd doesn't support it.

say server IP is 199.188.x.x and security system IP is, and they both have a vpn link in subnet 10.8.0.x

So now to the question: how can I setup the server to send the UDP video to a client connected in this way? also any suggestions to improve my setup?

share|improve this question

Set up a second vpn between the vps and the client and route the traffic between the 2 vpns.

Assuming camera systems are on site A, VPS on site B and client on site C, your infrastruture would look like :

  +-> B <- +
  |        |
  A        C

With each arrow representing an ssl vpn.

share|improve this answer
Good thinking, but I must leave the client out of VPN. otherwise I will have to manually configure all client devices, and some of them are mobile devices. – Bouzid Zitouni Dec 24 '12 at 19:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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