本帖最後由 mcdull 於 2017-10-20 14:32 編輯
let me provide more detail
Openvpn network : 10.8.x.x
LAN : 192.168.x.x
Public IP (sip domain name): 1.64.x.x
Openvpn was installed in the network default gateway
Router has port forward from WAN (Public IP) to Asterisk server (LAN)
When I use Zopier without VPN, it connect to my SIP domain and correctly forward to my LAN service port. Everything was fine.
When I use Zopier with VPN, it is actually using the Openvpn IP set (10.8.x.x) and try to connect to the SIP domain and forward back to the LAN service port. That is not okay now.
A easy fix could add a custom DNS entry into the gateway to point the sip domain name direct to the LAN address. but I would like to get a more generic and proper solution. |