[asterisk-users] Two Asterisks behind NAT and need to link them using IAX trunk

Darrick Hartman (lists) dhartman at djhsolutions.com
Thu Jan 17 19:40:52 CST 2008


Jared Smith wrote:
> On Thu, 2008-01-17 at 17:09 -0800, John Constalgie wrote:
>> Hence, is my only choice using an SSH tunnel between A and B for the
>> IAX connection to work? Will it work though with that "One-way SSH"
>> factor mentioned before?
> 
> It's my understanding that SSH tunneling will only work with TCP
> traffic.  IAX2 uses UDP packets, so I don't think that'll work.  You
> might try setting up a VPN or something along those lines.  (Also, IAX2
> defaults to port 4569, not port 5060.)
> 

OpenVPN works great for this.

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com



More information about the asterisk-users mailing list