TLS, SRTP, and VPN

I have a FreePBX server running on Vultr and I want to do 2 things:

  1. Enable TLS on port 5060 and SRTP.
  2. Create a VPN server for clients that don’t support TLS.

I have a couple old ATAs that don’t support TLS but I can create a VPN tunnel using OpenVPN on the router. What I fail to understand is how do I set up FreePBX/Asterisk so that clients coming through the VPN don’t need to use TLS and SRTP while clients not coming through VPN do? I am using PJSIP for all extensions and trunks. Thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.