RTSP and NAT
-
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.
-
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!