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

    SIP port forward from WAN to OpenVPN Client

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 749 Views
    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.
    • B
      bmmh
      last edited by bmmh

      Hi,

      I have problems setting up port forward from pfsense WAN to PBX as OpenVPN client.

      Port Forward WAN to PBX OpenVPN IP
      5061 TCP
      10000-20000 UDP

      Outbound mode set to Hybrid with static ports for both rules. The outbound interface is OpenVPN.

      SIP is able to connect and register from client but no audio.

      When I connect the SIP phone to OpenVPN everything works perfectly.

      PBX has defined NAT local networks and NAT on extensions.

      I think the problem is the UDP traffic but I cannot see any UDP traffic coming in from WAN to PBX.

      The SIP phone IP showing in the PBX is the OpenVPN gateway.

      PBX is a Grandstream UCM6104.

      Any help?

      Thanks

      Screen Shot 2022-05-22 at 15.36.05.png

      Screen Shot 2022-05-22 at 15.38.40.png

      Screen Shot 2022-05-22 at 15.39.15.png

      A 1 Reply Last reply Reply Quote 0
      • A
        ahsunh @bmmh
        last edited by

        @bmmh OpenVPN firewall interface allow SIP port rules then confirmed if using UDP tunnel.

        1 Reply Last reply Reply Quote 0
        • B
          bmmh
          last edited by

          I can register the client to the PBX. The problem is that I have no audio at all.

          Something with the RTP traffic.

          When I connect the PBX and client to openvpn I have no problems. Everything works.

          The problem arise when I try to use pfSense public IP. I think is something with the UDP Nat

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