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.

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to