[Freeswitch-users] Server with 2 NICS

Luis Daniel Lucio Quiroz luis.daniel.lucio at gmail.com
Sun Feb 5 18:07:01 MSK 2012

Helo :)

I'm new to FS but not to linux. I've sucessfully install FS into a
centos 6.2. But I have an issue.

Server has 2 nics:
eth0: <public IP>

when starting fs, it listen SIP (5060/udp) using venet0.  Phones can
register and they talk each other. However, we are using an external
GW and that fails. Doing a depth analisys I've realized that the
reason is that because venet0 is being used, SIP payload has venet0
within but server IP is eth0's so this is tipical mitchach.

I've sucessfully configure in vars.xml the local_ip4 (or whatever it
writes) to use public IP. but after that no phones are registering.
(before anyone says, yes phones points to public IP of course).  Nmap
reports that SIP (5060/udp) is listen by eth0 but when I got phone
SIP, i only get Registering request without  an answer.

I really need to make this listen in eth0.  What suggestion do you
have.  Please void telling me to turn of venet0 (not possible for


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list