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

    access public SIP via remote with openvpn

    OpenVPN
    sip openvpn
    4
    7
    945
    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.
    • E
      ed123
      last edited by

      Need your expertise regarding my issue. I have a cloud sip pbx and pfsense installed. I can connect to my pbx without any issues. Now when i work at home via openvpn(from pfsense) , I can ping all local servers in my office and my cloud pbx via vpn. But when I tried to register my xlite for my pbx, unfortunately, it won't register.

      pfsense: 2.4.4-RELEASE-p3
      PBX>PFsense>openvpn>remotepc

      mohkhalifaM 1 Reply Last reply Reply Quote 0
      • mohkhalifaM
        mohkhalifa @ed123
        last edited by

        @ed123 Confirm that you are using udp for your VPN connection

        1 Reply Last reply Reply Quote 0
        • E
          ed123
          last edited by

          here is my vpn setup
          Server mode : Remote Access(SSL/TLS + USer auth)
          Protocol: UDP on IPV4only
          interface: WAN
          port: 1195
          TLS Configuration: check
          IPv4 Tunnel Network: 172.22.0.0/24
          Redirect IPv4 Gateway: check
          Inter-client communication: check(optional)
          DNS Server 1: mylocal

          mohkhalifaM 1 Reply Last reply Reply Quote 0
          • mohkhalifaM
            mohkhalifa @ed123
            last edited by mohkhalifa

            @ed123 check your SIP setting that you are using udp. VPN and SIP both must be configured with the same protocol.

            JKnottJ 1 Reply Last reply Reply Quote 0
            • E
              ed123
              last edited by

              I set my sip/extension to Nat=yes,port=5060,transport=all-udp

              1 Reply Last reply Reply Quote 0
              • J
                javier2020
                last edited by

                Try changing sip/extension transport to tcp

                1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @mohkhalifa
                  last edited by

                  @mohkhalifa said in access public SIP via remote with openvpn:

                  VPN and SIP both must be configured with the same protocol.

                  ????

                  While the VPN normally uses UDP, but can use TCP, SIP is usually TCP and RTP uses UDP. The VPN should be passing both UDP and TCP, as would any other IP path.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

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