03-01-2004 12:51 PM - edited 03-02-2019 01:56 PM
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.
03-01-2004 01:54 PM
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.
03-01-2004 02:19 PM
Thanks. I was thinking of something with route maps
myself but hadn't quite worked it out.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide