I have common, cheap TL-WR1043ND V1 router. For private purposes I've set kamailio voip on my own server INSIDE my LAN. Is it possible to connect to that server from outside, through openWRT router? Many tries, no success - too many jumps or something similar. I guess router should be fully transparent for sip protocol. How to manage it? is it possible at all? I don't ask how to do it in details on my router/openwrt (but if someone knows, it will be nice), but - is this possible to setup at all? should I try or search for resolution, or just give up with that idea?
On Wed, Aug 31, 2016 at 01:08:22AM +0200, Andrzej Kaczmarczyk wrote:
I have common, cheap TL-WR1043ND V1 router. For private purposes I've set kamailio voip on my own server INSIDE my LAN. Is it possible to connect to that server from outside, through openWRT router? Many tries, no success - too many jumps or something similar. I guess router should be fully transparent for sip protocol. How to manage it? is it possible at all? I don't ask how to do it in details on my router/openwrt (but if someone knows, it will be nice), but - is this possible to setup at all? should I try or search for resolution, or just give up with that idea?
Never had the need to try but it should work, you just need to advertise your external public ip address in kamailio: http://www.kamailio.org/wiki/tutorials/faq/main#can_kamailio_be_installed_be...
Search the mailing archive for "kamailio behind nat" or EC2 related topics.
You'll also need an rtpproxy/engine that rewrites the advertised ip in the SDP body.
As for configuring the router, forward udp/tcp port 5060 and the udp ports used by the rtpprxy/engine to the internal server. That should be rather obvious in OpenWRT, and AFAIK there is no SIP ALG you might need to disable.
Search for port forwarding, you need to set up your router in a way that all request made to certain ports are routed to certain ip's
Enviado desde mi Samsung Mobile de Claro
-------- Original message -------- From: Andrzej Kaczmarczyk andrkac@gazeta.pl Date: 8/30/16 7:08 PM (GMT-04:00) To: sr-users@lists.sip-router.org Subject: [SR-Users] kamailio outgoing gateway
I have common, cheap TL-WR1043ND V1 router. For private purposes I've set kamailio voip on my own server INSIDE my LAN. Is it possible to connect to that server from outside, through openWRT router? Many tries, no success - too many jumps or something similar. I guess router should be fully transparent for sip protocol. How to manage it? is it possible at all? I don't ask how to do it in details on my router/openwrt (but if someone knows, it will be nice), but - is this possible to setup at all? should I try or search for resolution, or just give up with that idea?
-- Pozdrawiam Andrzej Kaczmarczyk
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users