[Serusers] SER proxy behind NAT
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Thu Jun 10 17:08:05 CEST 2004
On Jun 10, 2004 at 18:24, Dmitry Semyonov <dsemyonov at dins.ru> wrote:
> Hello.
>
> Recently I've been fighting with SER running on local IP, which is
> statically mapped to public one via NAT/firewall.
>
> The problem was in SER putting local IP into Record-route field.
> Therefore, a public client (X-lite) was trying to send BYE message to
> this local IP. I used record_route_preset("<SER public IP>") in place
> of record_route() to solve the problem.
>
> Does someone have any comments on the method? Are there any other
> solutions, (despite the obvious one to put SER into public
> Internet)?
Check also: advertised_address = <public_ip>, or on a per packet basis:
set_advertised_address(<public_ip>);
This should use <public_ip> in Via and RR.
Andrei
More information about the sr-users
mailing list