cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
793
Views
0
Helpful
4
Replies

C891F Port Range Forwarding

etsoft
Level 1
Level 1

Hi,

 

i need to forward u number off ports to a certain ip address for VOIP Purposes.port 5060 through 6079

how can i do this?

E. Traas

4 Replies 4

Mark Malone
VIP Alumni
VIP Alumni
Hi
you can use a route-map then match the ack under the route-map , the acl would contain the range , that's one way as an example

ip access-list extended VOIP
permit udp host X.X.X.X any range 5060 6079

route-map MARK permit 10
match ip address VOIP

ip nat inside source static X.X.X.X X.X.X.X route-map MARK

Hi Mark,

I've tried your solution on a Cisco Router-891F IOS ver 15.7 but, it doesn't work - Below is copy of my config -

Let me know your thoughts please.

  1. So i have NAT overload on my wan interface 
  2. Requirement: Need to add static nat entries from an outside SIP server to an internal PBX server for sip traffic and provider's management purposes. 

 

ip access-list extended SIP-ACL
remark Allow NAT from Outside_Provider-to-Inside_PBX
permit udp host 192.168.168.168 host 2.2.2.2 eq 5060
permit udp host 192.168.168.168 host 2.2.2.2 range 21000 24999
permit tcp host 192.168.168.168 host 3.3.3.3 eq 8080
permit tcp host 192.168.168.168 host 3.3.3.3 eq 7117
permit tcp host 192.168.168.168 host 3.3.3.3 eq 3306
permit tcp host 192.168.168.168 host 3.3.3.3 range 7100 7156
deny ip any any log

 

route-map Test-MAP permit 10
match ip address SIP-ACL

 

ip nat inside source static 192.168.168.168(Local IP)  1.1.1.1(WAN IP)  route-map Test-Map extendable

 

Problem:

  • The moment i apply the above static nat with the route-map, my outbound GRE/ESP traffic gets filtered by the Route-MAP Test-MAP "SIP-ACL" which blocks GRE/ESP hence bringing all my Tunnels down. 

 

  • GRE/ESP/UDP iskamp is allowed on the inbound ACL on the WAN interface which is receiving the GRE traffic but the same traffic gets filtered on the way out towards the VPN-Headends via the SIP-ACL which is referenced by the Route-map Test-MAP.

 

Hello,

 

post the full configuration of your router...

Attached the sh run in txt format - Removed IP address. 

Review Cisco Networking products for a $25 gift card