04-08-2021 06:16 AM
Hello All
Struggling with this one hence looking for some help. I'm looking to allow Internet access to my Teens VLAN32 during an active time range which I have setup. However on the ACL seems to work in the opposite way. It shuts down Internet during the time range and allow internet outside the active time range. (I hope that kinda making sense). This is clearly my misunderstanding on Time Ranges and/or how to apply them correctly.
Here's the config
ASA Version 9.1(2)
time-range TestVLAN32
periodic daily 6:00 to 22:30
!
object network VLAN32
subnet 192.168.32.0 255.255.255.0
description VLAN 32 Teens
access-list outside_access_in extended permit icmp any any
access-list inside_1_access_in extended deny ip object VLAN32 any time-range TestVLAN32
access-list inside_1_access_in remark Inside access in allow Domain services to vaild DNS servers
access-list inside_1_access_in extended permit object-group TCPUDP any object-group DNS-Servers eq domain
access-list inside_1_access_in extended deny object-group TCPUDP any any eq domain
access-list inside_1_access_in extended permit ip any any
Many thanks Jason
Solved! Go to Solution.
05-01-2021 04:39 AM
sorted... I needed a second ACL to deny all
so traffic allowed during the active time range... (for VLAN20) and deny any.... i guess the packets are checked and if they meet the 1st line it stops, and allow the traffic (permit). If the packet fails to meet the 1st Line the second line i.e its outside the active time frame it Denys as its outside the active time.
access-list inside_1_access_in extended permit tcp object VLAN20 any time-range Teens access-list inside_1_access_in extended deny tcp object VLAN20 any
05-01-2021 04:39 AM
sorted... I needed a second ACL to deny all
so traffic allowed during the active time range... (for VLAN20) and deny any.... i guess the packets are checked and if they meet the 1st line it stops, and allow the traffic (permit). If the packet fails to meet the 1st Line the second line i.e its outside the active time frame it Denys as its outside the active time.
access-list inside_1_access_in extended permit tcp object VLAN20 any time-range Teens access-list inside_1_access_in extended deny tcp object VLAN20 any
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