02-12-2019 11:04 AM - edited 02-21-2020 08:48 AM
Hello,
I've been working on this and could not find out why.
I have an esxi server and a web server.
I can port forward to my test webserver with no problem using:
static (inside,outside) tcp interface 8080 192.168.6.251 www netmask 255.255.255.255
But when I port forwarded my VMware esxi server it bounced to the Cisco ASDM web page:
static (inside,outside) tcp interface 8082 192.168.6.250 www netmask 255.255.255.255
Can you look at the attached file and let me know?
Thanks,
Tony
Solved! Go to Solution.
02-12-2019 12:23 PM
You do not have any ACL permitting the traffic towards port 8080 and 8082. Add these entries and then test.
02-12-2019 11:49 AM
You have the same IP for both the ESXi and the webserver...192.168.6.251
In any case, you can not NAT the exact same ports to two different internal IPs. The ASA does not have any way of differenciating this traffic. So you would need to NAT 8080 to 80 for the webserver and 8081 to 80 for the ESXi
02-12-2019 12:12 PM
It was my typo. I did nat 8082 to the esxi server as it was in the attached file.
So regardless what port I assigned as the translated port, it's still forwarded to the Cisco ASDM webpage.
One thing I discovered was that if any of my forwarded hosts has the port 443, it will be directed to the Cisco ASDM webpage.
I tried many web servers. If a web server has a port 443, it would be bounced to the Cisco ASDM webpage.
Any solution would greatly be welcome.
02-12-2019 12:23 PM
You do not have any ACL permitting the traffic towards port 8080 and 8082. Add these entries and then test.
02-12-2019 02:00 PM
Thanks. That was the answer.
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