LARTC
[Top] [All Lists]

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

To: Patrick McHardy <kaber@trash.net>
Subject: Re: [LARTC] SIP, NAT, and load balancing problems
From: François Delawarde <fdelawarde@wirelessmundi.com>
Date: Thu, 14 Dec 2006 12:59:05 +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: <45808547.3080109@trash.net>
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> <45808547.3080109@trash.net>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Icedove 1.5.0.8 (X11/20061116)
I have ip_nat_sip compiled in the kernel (and not as a module). Is that an issue?

Could you give me an example of how I could do using CONNMARK and fwmark based routing if I have an outgoing RTP flow bound to the wrong interface?

Thanks a lot,
François.

Patrick McHardy wrote:
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>