[SR-Users] Use Kamailio as forward proxy between two networks

Denys Pozniak denys.pozniak at gmail.com
Mon Apr 1 16:24:54 CEST 2019


Hello!

Maybe it will help you:
https://kamailio.org/docs/modules/devel/modules/rtpproxy.html#rtpproxy.f.rtpproxy_ofrer


*i, e - these flags specify the direction of the SIP message. These flags
only make sense when rtpproxy is running in bridge mode. 'i' means internal
network (LAN), 'e' means external network (WAN). 'i' corresponds to
rtpproxy's first interface, 'e' corresponds to rtpproxy's second interface.
You always have to specify two flags to define the incoming network and the
outgoing network. For example, 'ie' should be used for SIP message received
from the local interface and sent out on the external interface, and 'ei'
vice versa. Other options are 'ii' and 'ee'. So, for example if a SIP
requests is processed with 'ie' flags, the corresponding response must be
processed with 'ie' flags.*


пн, 1 апр. 2019 г. в 16:59, Lauritz <voip at lauritz-holtmann.de>:

> Hello,
>
> I am trying to implement the following network setup using Kamailio and
> RTPProxy, but was not able to find any recent documentation or blog posts
> with hints:
>
> local_net1                           :          local_net2
> 10.250.10.*                          :          10.250.11.*
>                                      :
> (1)                            (2)   :
> +-------------+               +--------------+
> +--------------+
> !             !.11        .12 ! Proxy        !.21             ! Debian
> Host  !.22
> ! Starface    !---------------! + Kamailio   !<<--------------! +
> Linphone   !.23
> !             !               ! + RTPProxy   !
> !              !
> +-------------+               +--------------+
> +--------------+
>                           eth0       :      eth1
>                                      :
>                                      :
>
>
> As you can see, the proxy has two interfaces and its purpose is to forward
> traffic from the client's network to the Starface's network.
>
> Has anyone experience to share or got any other hints where to start?
> Thank you very much for your help :)
>
> Kind regards,
> Lauritz
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 

BR,
Denys Pozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190401/fb258c8f/attachment.html>


More information about the sr-users mailing list