[asterisk-users] asterisk and openvpn and sip
Giorgio Incantalupo
gincantalupo at fgasoftware.com
Thu Jun 18 03:31:13 CDT 2009
Hi all,
I'm trying to connect one phone to a remote asterisk server via openvpn.
First of all, I put the vpn server on the box hosting asterisk and the
vpn client on another box, both with public ips.
Then I set the client ip as my phone IP gateway and the remote pbx ip as
the registrar and outbound proxy.
I see in the phone log register packets are sent but nothing in return.
Asterisk console shows it tries to give back the packets but they seem
to be lost somewhere.
I made some tests with my pc setting its gateway with the vpn client IP
and I can reach the pbx machine (ping, ssh,...) but sipsak gets no response.
It seems ping and ssh response packets are correctly routed but sip
packets aren't.
I tried to set nat=yes in sip.conf but without result.
Is there any asterisk parameter to set to make it work with openvpn?
Any help really appreciated.
Thank you.
Giorgio
More information about the asterisk-users
mailing list