Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

NAT/PAT

I wish to set up nat on my router such that

for packets arriving at the WAN interface, packets

are translated to internal addresses only if the TCP or UDP ports match a couple of specific values.

All other packets to the WAN interface should be routed as usual.

I have looked at static translation and I dont see how translation for specific ports can be selected.

I think this should be a fairly common thing to do.

e.g. web traffic to an internal server.

2 REPLIES
Gold

Re: NAT/PAT

I haven't tried this but,

how about a route map, with conditions to match your requirements. set the next hop to a subinterface that has nat static configured on it.

I don't know of how on translating udp ports.

New Member

Re: NAT/PAT

Thanks. I was thinking of something with route maps

myself but hadn't quite worked it out.

102
Views
0
Helpful
2
Replies
CreatePlease to create content