LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2014, 09:06 PM   #1
NewtownGuy
LQ Newbie
 
Registered: May 2014
Posts: 14

Rep: Reputation: Disabled
How do I configure iptables to defeat multi-port problem of RTSP ?


I'm running a web camera on Raspian using VLC to encapsulate an H.264 video stream into RTSP. The problem is that VLC's flavor of RTSP dynamically chooses a pair (N and N-1, where N is even) of UDP ports for the audio and video in response to a tcp connection request. This dynamic assignment of UDP ports stops anyone from accessing the video stream from the Internet unless there's only one camera and it is put in a DMZ in my router.

Can someone tell me how to configure iptables on the web camera so that whatever UDP port VLC happens to choose gets mapped to a single external UDP port ? I don't use audio, so it would be sufficient to map many internal UDP ports into a single external port. I thought the multiport rule might help me, but I don't know how to set it up for this.

Thank you in advance.
 
Old 05-08-2014, 09:24 AM   #2
NewtownGuy
LQ Newbie
 
Registered: May 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Clarification... What I really want to do is map a wide range of internal ports to a single external port.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Day of Defeat and Day of Defeat: Source beta on Steam for Linux! LXer Syndicated Linux News 0 03-14-2013 06:50 PM
Multi-WAN Problem with IPROUTE2/IPTABLES - Packets disappear between MANGLE & NAT alpharomeo31 Linux - Kernel 2 10-18-2011 10:12 AM
regarding multi serial port PCI card IO address problem ayaskant16 Linux - Hardware 0 11-12-2008 01:32 AM
RTSP: Server for Linux: Livestream --> RTSP polemon Linux - Software 0 10-10-2007 07:37 AM
How to configure Iptables with PORT forwarding gurdeep.singh Linux - Security 6 07-24-2007 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration