LARTC
[Top] [All Lists]

Re: [LARTC] SIP, NAT, and load balancing problems

To: François Delawarde <fdelawarde@wirelessmundi.com>
Subject: Re: [LARTC] SIP, NAT, and load balancing problems
From: Patrick McHardy <kaber@trash.net>
Date: Wed, 13 Dec 2006 23:57:11 +0100
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <457FD6FA.7090709@wirelessmundi.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <457EC047.7090404@wirelessmundi.com> <Pine.LNX.4.64.0612122129430.15027@dellareas> <457FD6FA.7090709@wirelessmundi.com>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Debian Thunderbird 1.0.7 (X11/20051019)
François Delawarde wrote:
> I was thinking of trying that along with the netfilter SIP helper, but I
> don't even understand how helpers work yet. If you have an idea of how i
> could use those things, it would also be worth trying.

Just load ip_nat_sip, it should adjust the SDP information according to
the NATing done on the connection. You need to make sure though that
the RTP stream really does use the same connection (and NAT) as the
SIP connection, which is best done by using CONNMARK and fwmark based
routing.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>