[asterisk-users] NAT router for Linux

2009-01-24 Thread Julien Claassen
Hello everyone! This is my problem: I try to do gtalk, but my asterisk server uses the local IP 127.0.0.1 or perhaps the 192.168.*.*. Now I've heard, that a NAT router can help there. I was told it's the way the windows-world does the trick, when they sit behind a router/phonebox/modem.

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Philippe Sultan
If you set the 'bindaddr' to your private IP address, the Gtalk connection from your Asterisk server to my Gtalk client (running on Windows) works fine. That's at least what we've tested together Julien, right? If the STUN packets are properly exchanged between Asterisk and the Gtalk client

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Tom Moore
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julien Claassen Sent: Saturday, January 24, 2009 12:32 PM To: asterisk users mailinglist Subject: [asterisk-users] NAT router for Linux Hello everyone! This is my problem: I try to do gtalk, but my asterisk server uses the local

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Julien Claassen
I'm using gtalk. So I can try to configure my router (it's got a lot of javascript :-) ) to forward 5222 to my server and the same thing backwards? Thanks for responding so fast! Kindest regards Julien Music was my first love and it will be my last (John Miles)

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Julien Claassen
I'm not completely sure about the things my router can do. It's from the telephone company and it's supposed to do a lot of stuff. I've just heard, that windows people could solve such things. After all my setup isn't too strange or rare? Or is it for running asterisk? Kndest regards and

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Alex Balashov
The short answer to your question--assuming it is the right question to be asking--is that Linux comes with a built-in NAT infrastructure as part of its packet filter (netfilter). The utility iptables is used to manage it. Simple example: echo 1 /proc/sys/net/ipv4/ip_forward iptables

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Alex Balashov
No, your setup is not unusual for a client. If you are not happy with your router, you can set it to Ethernet bridge mode (if it's DSL over ATM transport, that's RFC1483). Then your PC behind it can hold the public Layer 3 interface, but the DSL modem will still do the ATM/G.DMT stuff.

Re: [asterisk-users] NAT router for Linux

2009-01-24 Thread Julien Claassen
Thanks for the answers. I have to read those more carefully, when I'm properly awake and concentrated, but it sounds as if this might be of help. Kindest regards Julien Music was my first love and it will be my last (John Miles) FIND MY WEB-PROJECT AT: