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.
mohkhalifa last edited by
@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
TLS Configuration: check
IPv4 Tunnel Network: 172.22.0.0/24
Redirect IPv4 Gateway: check
Inter-client communication: check(optional)
DNS Server 1: mylocal
mohkhalifa last edited by mohkhalifa
@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
javier2020 last edited by
Try changing sip/extension transport to tcp
JKnott last edited by
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.