Hello,
I need the CLI command to perform port forwarding. In other words, I have a public IP address, let's say 1.1.1.1. I need port 80 to forward to a private IP address of 2.2.2.2 (to the same port, port 80). I know that the command to do this is:
static (inside,outside) 1.1.1.1 2.2.2.2 netmask 255.255.255.255
access-list outside_in permit tcp 80 any host 1.1.1.1 eq 80
What command would I have to use if say, someone (outside) requests port 443 on public IP 1.1.1.1 and I need the request to be routed to a different IP with a different port? In other words, someone types
https://1.1.1.1 (443=SSL), how do I set up the router so that it doesn't go to private IP 2.2.2.2 but to a different private IP, say 3.3.3.3 at port 444?
So, someone requests
https://1.1.1.1, the router sends the signal to private IP 3.3.3.3 at port 444.
Please help. Need to set this up as soon as possible.
Start Free Trial