How to set up NAT in Cisco ASA Firewall (in Packet Tracer), when there are VLANs in the network?
In the current approach, NAT is not working to reach the server (8.8.8.8) from any of the VLANs.
It is working if I ping from the layer3 switch (172.168.0.1).
*NOTE: When used Router instead of ASA Firewall, I was able to setup NAT in it, but I am first time working with ASA firewall.
current configuration:
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
switchport access vlan 3
!
interface Vlan2
nameif inside
security-level 100
ip address 172.16.0.2 255.255.0.0
!
interface Vlan3
nameif outside
security-level 0
ip address 51.1.1.1 255.0.0.0
!
object network LAN
subnet 172.16.0.0 255.255.0.0
!
route outside 0.0.0.0 0.0.0.0 51.1.1.2 1
!
access-list local-to-internet extended permit tcp any any
access-list local-to-internet extended permit icmp any any
!
!
access-group local-to-internet in interface outside
object network LAN
nat (inside,outside) dynamic interface
Download .pkt file: https://drive.google.com/file/d/1dzZFb9S9S83wmQjTWAa2EBOxiwsV7GHg/view?usp=sharing