OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • 18.1.9 Static port does not work with RTSP server UDP mode
« previous next »
  • Print
Pages: [1]

Author Topic: 18.1.9 Static port does not work with RTSP server UDP mode  (Read 2985 times)

overopn

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
18.1.9 Static port does not work with RTSP server UDP mode
« on: June 04, 2018, 05:37:44 am »
Hi, I have RTSP server in my LAN. I can connect to it fine with TCP but not with UDP. I understand there is a source port rewrite which I must disable, however that is not working.





When I do a packet capture on WAN, I can see the TCP part going back but the UDP packets are going to a different (and wrong?) port.


Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: 18.1.9 Static port does not work with RTSP server UDP mode
« Reply #1 on: June 04, 2018, 06:56:20 pm »
Try splitting the rules, so have two rules, one for UDP  and one for TCP... should work as is, but it's a question of ruling things out... or in, as the case may be.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

overopn

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: 18.1.9 Static port does not work with RTSP server UDP mode
« Reply #2 on: June 09, 2018, 10:29:47 am »
I tried pfsense and face the same issue, and I worked with an experienced pfsense guy and determine it is a bug with pfsense, and it does not happen with old pfsense 2.3

Seems opnsense have this bug too since they share same code base?

https://forum.netgate.com/topic/131765/nat-problem-with-rtcp-server

Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: 18.1.9 Static port does not work with RTSP server UDP mode
« Reply #3 on: June 09, 2018, 11:07:16 am »
The are both FreeBSD based, but the fork to Opnsense happened before pf 2.4 so it suggests an issue upstream.


Have a look at /tmp/rules.debug.. does that show the correct rule?
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • 18.1.9 Static port does not work with RTSP server UDP mode
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2