Find the answer to your Linux question:
Results 1 to 2 of 2
Dear All, I am facing following issue. Please help to reslove it. Problem Statement:- "I have a RTSP Server on a IP 192.168.33.51 and we are using VPN (MPLS) to ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    9

    NAT Configuration for RTSP Issue

    Dear All,

    I am facing following issue. Please help to reslove it.

    Problem Statement:- "I have a RTSP Server on a IP 192.168.33.51 and we are using VPN (MPLS) to provide access to a remote network with 10.2.43.243 IP". Now the the RTSP stream is accessible to the IP 10.2.43.243. But the problem is that we need a server on a different subnet and IP 10.2.16.15 to access the RTSP stream from 192.168.33.51 and it not a part of our VPN.So it can access the RTSP stream through 10.2.43.243 as both are on the same LAN.

    10.2.43.243 is a linux system and we can configure NAT to do the needful. But i dont know how to make the required configuration."

    "In brief I want RTSP client on 10.2.16.15 to access RTSP stream from 192.168.33.51 through 10.2.43.243 system."

    Please help me resolve this issue.

    Regards,
    Raghuvendra Kumar

  2. #2
    Just Joined!
    Join Date
    Feb 2007
    Posts
    14

    It might be ip_forward rules in iptables?

    I'm sorry to say that I don't have a solid solution or have ever implemented such a setup. I was very intrigued by your question. I just hope I'm not wasting your time. I looked information on NAT settings for linux online and found this:

    revsys.com/writings/quicktips/nat.html

    It "seems" straight forward that the configs for NAT forwarding would take place on ip address:


    10.2.43.243

    to allow packets from:

    RTSP client( 10.2.16.15) <---> NAT( 10.2.43.243 ) <---> RTSP stream ( 192.168.33.51 )

    The diagram is rudimentary but perhaps the direction arrows can be translated into iptables rules to allow for both incoming/outgoing communication between client and server though the device acting as a translator. I take it the application sends out a request to the server; the server acknowledges the request and initiates a port connection for the stream? I hope someone can chime in with more experience in writing rules? Maybe the article is a good primer to start with? I'd like to know your thoughts on this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...