access public SIP via remote with openvpn
-
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 -
@ed123 Confirm that you are using udp for your VPN connection
-
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 -
@ed123 check your SIP setting that you are using udp. VPN and SIP both must be configured with the same protocol.
-
I set my sip/extension to Nat=yes,port=5060,transport=all-udp
-
Try changing sip/extension transport to tcp
-
@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.