<div dir="ltr">Hi All. Currently, I am using OpenSIPs on AWS without issues (NAT environment). I have it configured as follows (I have removed the real IP and replaced it with 1.2.3.4):<div><br></div><div><div>listen=udp:eth0:5060</div><div><br></div><div>advertised_address="1.2.3.4"</div><div>
<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">alias="1.2.3.4"</span> <br></div><div>advertised_port=5060</div><div><br></div><div>What I would like to do is add multiple public IPs to this box (which AWS allows this). My question is as follows:</div><div><br></div><div>If I add another interface, let's say eth1, how will OpenSIPs know which IP to advertise? I don't see a way of telling OpenSIPS- Hey, if the request comes in on eth0, then advertise public IP 1.2.3.4. But, if a request comes in on eth1, then advertise public IP 5.6.7.8.</div><div><br></div></div><div>Any help is greatly appreciated.</div><div><br></div><div>Thanks,</div><div>Alex</div></div>