vinylmike Brekeke Addict
Joined: 13 Dec 2012 Posts: 30
Location: Guilford, CT
|
Posted: Thu Jan 05, 2017 2:44 pm Post subject: Setting source IP on outgoing packets |
|
|
1. Brekeke Product Name and Version:
Brekeke SIP Server, Version 3.4.7.2, Advanced
2. Java version:
1.8.0_92
3. OS type and the version:
Red Hat Enterprise Linux Server release 6.8 (Santiago)
4. UA (phone), gateway or other hardware/software involved:
Voxeo Prophecy
5. Your problem:
Our Brekeke SIP Server has several network interfaces.
How would I tell the server to set a particular source IP for outgoing traffic to some gateways, and a different source IP for other gateways?
i.e. for gateway 1 traffic must come out the proxy with source IP 1.1.1.1 (ie not a private, RFC1918 IP) (while looking at outgoing traffic with tcpdump), and for gateway 2 from Y.Y.Y.Y (again not a private IP).
Tried setting $ifdst to the source IP in the dial plan but tcpdump still showed traffic going out of the internal LAN IP (10.x.x.x) of the proxy. |
|