How can i connect sip phone to freepbx using openvpn ip address remotely?

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
Varjasiteodor
OpenVpn Newbie
Posts: 2
Joined: Thu Jul 07, 2022 5:56 am

How can i connect sip phone to freepbx using openvpn ip address remotely?

Post by Varjasiteodor » Thu Jul 07, 2022 6:19 am

I'm still very new to this topic and an answer would help a lot!

Varjasiteodor
OpenVpn Newbie
Posts: 2
Joined: Thu Jul 07, 2022 5:56 am

Re: How can i connect sip phone to freepbx using openvpn ip address remotely?

Post by Varjasiteodor » Thu Jul 07, 2022 6:51 am

Port forwarding is possible in openvpn?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 790
Joined: Tue Feb 16, 2021 10:41 am

Re: How can i connect sip phone to freepbx using openvpn ip address remotely?

Post by openvpn_inc » Thu Jul 07, 2022 2:31 pm

Hi Var,

Sure, port forwarding (DNAT in Linux iptables(8) terms) can be done in Access Server. But SIP behind NAT is tricky and not recommended. You need to configure routing and use the VPN address of the freepbx host in your VPN/SIP client.

See this page for information:
Global Routing in OpenVPN Access Server

Note that you just said "openvpn" in your post. Answers in this subforum will be specific to OpenVPN Access Server, and not applicable to the open source version of openvpn.

regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply