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

access public SIP via remote with openvpn

Scheduled Pinned Locked Moved OpenVPN
sipopenvpn
7 Posts 4 Posters 957 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.
  • E
    ed123
    last edited by Mar 23, 2020, 12:00 AM

    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

    M 1 Reply Last reply Mar 23, 2020, 1:16 AM Reply Quote 0
    • M
      mohkhalifa @ed123
      last edited by Mar 23, 2020, 1:16 AM

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

      1 Reply Last reply Reply Quote 0
      • E
        ed123
        last edited by Mar 23, 2020, 1:24 AM

        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

        M 1 Reply Last reply Mar 23, 2020, 2:00 AM Reply Quote 0
        • M
          mohkhalifa @ed123
          last edited by mohkhalifa Mar 23, 2020, 2:30 AM Mar 23, 2020, 2:00 AM

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

          J 1 Reply Last reply Mar 29, 2020, 11:50 AM Reply Quote 0
          • E
            ed123
            last edited by Mar 23, 2020, 3:16 AM

            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 Mar 29, 2020, 6:25 AM

              Try changing sip/extension transport to tcp

              1 Reply Last reply Reply Quote 0
              • J
                JKnott @mohkhalifa
                last edited by Mar 29, 2020, 11:50 AM

                @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
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received