I have setup a openvpn server on clound (digital ocean). and my vpn client connects from local internet.
My goal is to use SIP (VOIP) over the VPN and my SIP server is also the same OpenVPN server.
My VPN get connected successfully and I can ping server from client perfectly fine. and I can register SIP User on client successfully. But the issue is when i dial the number from client my voice start breaking and at the same time when call is connected I check the ping it show big delay first and then timeout.
Can any tell me whats wrong with my configuration.
key server.key # This file should be kept secret
server 172.16.100.0 255.255.255.0
;pull-filter ignore "redirect-gateway"
;push "redirect-gateway def1 bypass-dhcp"
;push "redirect-gateway def1"
;push "redirect-gateway 172.16.100.1"
push "dhcp-option DNS 172.16.100.1"
push "dhcp-option DNS 184.108.40.206"
;keepalive 10 120
keepalive 20 60
;tls-auth ta.key 0 # This file is secret
Please guide me if there is anything wrong.
Thanks in advance.