[Freeswitch-users] Binding to virtual interface (ipsec vpn)

Anthony Minessale anthony.minessale at gmail.com
Mon Oct 11 13:57:45 PDT 2010


100% you should only be setting sip-ip sip-port and rtp-ip
you don't need the ext-* family of params at all.

did you check netstat -na | grep <your ip> to see that it was bound?

I think it's a network interface configuration problem more than anything else.
It could also be iptables which you can prove by disabling it to see
any improvement and then craft appropriate rules.


On Mon, Oct 11, 2010 at 4:46 AM, Nicolas Brenner <nico at clickfono.com> wrote:
> Hello everyone,
> I'm having trouble binding FS to another ip on a virtual interface (eth0:3).
> The virtual interface's ip address is the gateway to an ipsec vpn, and the
> only way to access this voip provider's sip server, is through the vpn.
> I tried setting up an additional sip profile, with rtp-ip and sip-ip as the
> virtual interface's ip, but when I do that, no packets are sent at all when
> trying to make a call with originate through the cli (according to tcpdump).
> I tried also setting ext-rtp-ip and ext-sip-ip to the same virtual
> interface's ip, but nothing happened, still no packets being sent (according
> to tcpdump) when trying to make a call. Finally I tried only
> setting ext-rtp-ip and ext-sip-ip to the virtual interface's ip, and leave
> rtp-ip and sip-ip to $${local_ip_v4}, then tcpdump started seeing some
> traffic (when trying to originate a call) which I was able to capture. When
> I loaded the trace on wireshark though, I noticed the source ip being used
> to send all the (sip) packets, is the one from eth0 (public ip), and not
> eth0:3's ip (private ip for vpn).
> Has anyone had any similiar experiences? how were you able to solve it?
> Thanks for your help!
>
> Nico
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list