access-list outside_in extended permit tcp any host 192.168.1.1 eq 443 access-list outside_in extended permit tcp any host 192.168.1.1 eq 80 access-list outside_in extended permit tcp any host 192.168.1.2 eq 22 access-list outside_in extended permit tcp any host 192.168.1.2 eq 25
access-group outside_in in interface outside
Service NAT mappings are done via protocol, then the REAL port, then the NAT port. So if you wanted to open up port 4343 to port 443 internally your NAT would be static interface service tcp 443 4343
If you want to be able to SSH to the firewall for management you are going to have to use a different port for SSH on the public IP, maybe 2222 and NAT that to 22 internally using the example in the paragraph above.
To do another public IP to another web server you would just create the object, and the nat rule would be nat (inside,outside) static 18.104.22.168 or whatever other public IP you have.
Table of ContentsIntroductionVersion HistoryPossible Future
UpdatesDocuments PurposeNAT Operation in ASA 8.3+ SectionsRule Types
Network Object NATTwice NAT / Manual NATRule Types used per SectionNAT
Types used with Twice NAT / Manual NAT and Network Obje...
Table of Contents Introduction:This document describes details on how
NAT-T works. Background: ESP encrypts all critical information,
encapsulating the entire inner TCP/UDP datagram within an ESP header.
ESP is an IP protocol in the same sense that TCP an...