cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Announcement“Cisco Design Thinking Workshop”. Cisco Small Business is excited to invite its Silicon Valley customers to an exclusive interactive one-day session between customers and product Managers.  If you are interested in this exclusive workshop, please fill out the Registration Form. For more information, please check out our FAQ


Get the latest new and information the November issue of the Cisco Small Business Monthly Newsletter

555
Views
0
Helpful
10
Replies
Highlighted
Beginner

Changing IP address of connections from AWS towards SIP

Hello all,

 

We have installed a PBX on AWS and connected it to our on-prem Router via VPN.

 

My on-prem router is connected to the SIP provider via another on-prem MUX device.

 

All connections are working fine, EXCEPT, my SIP provider has a condition that all connections to their server must originate from a specific IP that they have assigned to us.

 

Since AWS machine is connected via VPN, all calls from PBX are picking up the IP of the AWS machine.

 

For resolving this, i need to change the IPs of all connections from AWS to SIP.
Someone suggested i need NAT loopback/reflection for this.

 

Please guide how can this be done?

Regards.

Everyone's tags (3)
10 REPLIES 10
VIP Advisor

Re: Changing IP address of connections from AWS towards SIP

In your case, ask for some reserved IP from AWS, give those IP address to SIP provider, For your PBX IP do static NAT with that Public IP.

 

https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html

 

BB
*** Rate All Helpful Responses ***
Beginner

Re: Changing IP address of connections from AWS towards SIP

Thanks Balaji. 

 

However, that is already tried. The SIP provider will allow communications only from the IP that they have provided. 

 

VIP Advisor

Re: Changing IP address of connections from AWS towards SIP

Is that IP routed to your network ?  Still i try to get my head around,

BB
*** Rate All Helpful Responses ***
Beginner

Re: Changing IP address of connections from AWS towards SIP

It is a private IP assigned to their MUX device which is installed in our premises. We have connected it to our cisco router's WAN port and assigned WAN IP with the same one. 

VIP Advisor

Re: Changing IP address of connections from AWS towards SIP

what is the issue now then ?

BB
*** Rate All Helpful Responses ***
Beginner

Re: Changing IP address of connections from AWS towards SIP

The issue is, when calls generate from the PBX in AWS, it's taking the IP of the AWS machine to the SIP provider. 

What we require is NATing / Changing the IP of all communications generating from AWS machine, to the IP provided by SIP. 

VIP Advisor

Re: Changing IP address of connections from AWS towards SIP

We need to understand how is your setup and routing, AWS to internet and MUX to provider.

 

Do you have any HLd diagram,  how are you peering with SIP provider, is the MUX also located in AWS or onsite ?

BB
*** Rate All Helpful Responses ***
Beginner

Re: Changing IP address of connections from AWS towards SIP

Network Diagram (1).jpg

VIP Advisor

Re: Changing IP address of connections from AWS towards SIP

Where the calls originating from ? If the calls originating from Client, you need make routing decision for that calls to send to MUX- in RV042.

 

 

BB
*** Rate All Helpful Responses ***
Beginner

Re: Changing IP address of connections from AWS towards SIP

All outgoing calls are originating from PBX. clients will communicate with pbx via internet and call will generate from pbx. And from pbx will go via vpn to cisco rv042, and then to mux, and then to sip provider from where will connect to external number. 

 

Someone suggested packet forwarding for replacing AWS IP to mux ip in on-prem environment (maybe via a router or a firewall software). Does it make sense? What is your suggestion, if otherwise.