Navigation

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

    Want to route 5060 port traffic throught openvpn

    OpenVPN
    3
    5
    446
    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.
    • O
      oscar77 last edited by

      Hi all.

      I have a pfsense box virtualized configured with openvpn, i can connect to my openvpn and i get a ip 10.8.0.2 address.

      In certain cases i connect to my openvpn pfsense from computers that cannot "reach" correctly a asterisk server working in port 5060 for strange ISP configurations (i can connect my softphone from "vodafone" ISP well, but "movistar" ISP not

      I want to use my openvpn network from my home to route this 5060 sip traffic throught openvpn to get working this sip softphone.

      How i can do that? thx all

      A 1 Reply Last reply Reply Quote 0
      • A
        awair @oscar77 last edited by

        @oscar77

        Hi Oscar,
        I can confirm that this will definitely work. However, can you provide your network diagram, so we can be sure where each device is located (local/remote) and where the unfriendly ISP sits in relation to these.

        • I have my PBX closed to external extension registration.
        • I connect my iPhone via OpenVPN.
        • The SIP app connects to my PBX and call quality is excellent.

        I don't use NAT/Port Forwarding in this situation, just regular Firewall Rules.

        Good luck.

        S 1 Reply Last reply Reply Quote 0
        • S
          shetu @awair last edited by

          @awair hi. Can you post your setup ? I want connect remote extention via openvpn.

          1 Reply Last reply Reply Quote 0
          • A
            awair last edited by awair

            NB - All IPv4 only

            iPhone running SIP client & openVPN app
            SIP client option: use VPN if active
            Config imported from pfsense connects to a.b.c.d or via DNS
            vpn ip: 192.168.2.2

            PBX ip: 192.168.1.2

            pfsense running openVPN server
            public IP: a.b.c.d
            lan ip: 192.168.1.1
            openVPN ip: 192.168.2.1
            Firewall/Rules/OpenVPN: * * * * * (from OpenVPN Server Wizard)
            Firewall/Rules/WAN: * * WAN address - OpenVPN port * (from OpenVPN Server Wizard)
            VPN/OpenVPN/Servers:
            Remote Access
            UDP4
            tun
            OpenVPN port (you might want to change this in case your ISP blocks?)
            IPv4 tunnel network:192.168.2.0/24
            IPv4 local networks:192.168.1.0/24
            inter-client communication: yes

            ...and make sure the OpenVPN server is running...

            Good luck, and sorry about the formatting.

            1 Reply Last reply Reply Quote 0
            • A
              awair last edited by

              I've just successfully troubleshot a 2nd extension today:

              Depending on your OpenVPN connection (all traffic, DNS etc) you may want to change your PBX hostname in the SIP client from FQDN to LAN IP, and make sure that all Local networks are listed in the appropriate sip.conf file.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy