cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
290
Views
0
Helpful
2
Replies

NAT/PAT

dmillsom
Level 1
Level 1

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 2

vmiller
Level 7
Level 7

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.

Thanks. I was thinking of something with route maps

myself but hadn't quite worked it out.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: