• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

RTSP and NAT

NAT
2
2
1.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pkx232c
    last edited by Nov 4, 2020, 5:38 PM

    Hi !

    I'm trying to watch IPTV using RTSP / RTP. The client is on the LAN side, the server on the WAN side, there is NAT in between. Using PfSense 2.4.5-p1 on APU2.

    RTSP is OK but when the server sends the stream to the public IP Pfsense does not know what to do with it and just discards the flow.

    One fix that works is adding a port redirection from WAN to LAN. But since ports are dynamic I have to redirect the whole range, and this works best if I only have one client.

    I found this that seems to be exactly what I need : https://github.com/opnsense/plugins/pull/1312

    Obviously it's designed to work on OPNSense. I was wondering if something similar would be possible for Pfsense ? Or maybe it's not too complicated to make it work on Pfsense, but still beyond my abilities I'm afraid.

    Many thanks for reading.

    E 1 Reply Last reply Mar 25, 2021, 8:04 PM Reply Quote 1
    • E
      Elv @pkx232c
      last edited by Mar 25, 2021, 8:04 PM

      @pkx232c

      I think that pfSense do no spoof the RTCP traffic and do not define a NAT nor a port forwarding.

      What needed is a spoofing the RTCP traffic and setup and NAT or forwarding for the "client_port" in the RTCP-SETUP message. As i have seen, other firewall do this.

      I have found the same tool (designed for OPNSense) and i hope for a solution on pfSense!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.