[SR-Users] forcing socket doesn't work for ACK

Antony Stone Antony.Stone at kamailio.open.source.it
Mon Apr 1 20:07:42 CEST 2019


On Monday 01 April 2019 at 17:37:45, David Villasmil wrote:

> Hello guys,
> I have public and private IPs, and i need to force the sending socket
> replying to internal out externals endpoint

> This works nicely, except for ACKs and potentially other packets sent
> statelessly?
> 
> Anyone knows how to fix this?

Have you tried something like:

ip rule add from int.ernal.ip.addr lookup mytable
ip route add default dev external_interface_device table mytable

echo "234 mytable" >>/etc/iproute2/rt_tables


Antony.

-- 
3 logicians walk into a bar. The bartender asks "Do you all want a drink?"
The first logician says "I don't know."
The second logician says "I don't know."
The third logician says "Yes!"

                                                   Please reply to the list;
                                                         please *don't* CC me.



More information about the sr-users mailing list