[Asterisk-Users] tunnel iax via gnophone with ssh?

Steven Critchfield critch at basesys.com
Thu Nov 20 10:10:47 MST 2003


On Thu, 2003-11-20 at 09:44, Chris Hirsch wrote:
> Hey all...I'm trying to use gnophone to connect to my asterisk box 
> behind my firewall..I thought I could just setup a tunnel with something 
> like ssh host.com -L5036:asteriskserver:5036 and just change my gnophone 
> to connect to localhost:5036 but I never see anything happen on the 
> asterisk server. I'm even trying this on the same network just in case 
> there is something funky with NAT.
> 
> Anybody have any ideas? I did notice that when I start gnophone I see
> 
> iax.c line 654 in iax_init: Started on port 5036
> Listening on port 5036
> 
> and it doesn't seem to matter what I do inside the config. Are these 
> ports in some way hardcoded? If if they are can't I do something like above?

I think your problem is going to be related to the fact that IAX is a
UDP protocol. I don't know, but I think you can't push UDP down a tunnel
like that normally. Check out this URL for some pointers.
http://lists.debian.org/debian-laptop/2001/debian-laptop-200110/msg00258.html
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list