Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    access public SIP via remote with openvpn

    Scheduled Pinned Locked Moved OpenVPN
    sipopenvpn
    7 Posts 4 Posters 2.7k Views 4 Watching
    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 1 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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                  Privacy Policy · Cookie Policy