Indeed I tried :
static (inside,outside) tcp 10.1.0.250 8080 192.168.1.250 80 netmask 255.255.255.255
But this required me to remove the original static nat:
static (inside,outside) 10.1.0.250 192.168.1.250 netmask 255.255.255.255
Which meant rest of the traffic that was being translated no...
It is actually for a client who has a static NAT, but wants one of the ports to be forwarded to a different port on the inside..
Thus port 8080 connections to Outside interface needs to be forwarded to port 80 on the Inside host.
Thanks unclerico for the suggestion.
However in this case I need to keep the static NAT in place for the other TCP sessions to work.
I only need to PAT 1 port to a different port on the internal side as per my previous post.
I was trying to use:
nat (Inside) 1 192.168.1.250 255.255.255.255...
Hello,
I currently have a static-nat statement which works fine. But I need to now add a static PAT statement for the same 2 IPs. Unfortunately because of the static NAT it is not hitting the static PAT statement.
For example:
static (inside,outside) 10.1.0.250 192.168.1.250 netmask...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.