Hi! So i have 2 vlans on a S5248F switch: INTERN and EXTERN with their ips (both v4 and v6) and with stating routing (default route) through EXTERN. I'm trying to block ssh access to switch from anything EXTERNal so i have an ingress ACL applied on EXTERN vlan
with rules like: ``` ip access-list Dell-ProtectIPv4 seq 20 deny tcp any host EXTERN_IPv4 eq 22 seq 21 deny tcp any host INTERN_IPv4 eq 22 seq 10000 permit ip any any ```
It seems that the rules are not applied.. does anyone have an idea why? if a modify the access-list do i have to somehow re-apply it to the vlan?
``` ip access-list Dell-ProtectIPv4 seq 20 deny tcp any host EXTERN_IPv4 eq 22 seq 21 deny tcp any host INTERN_IPv4 eq 22 seq 10000 permit ip any any ```
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.
erm, no .. why? whats is actually this doing? by any chance is this applied generic from all directions and interfaces on anything that is related to connection to the switch? because, the format that i had for Dell-ProtectIPv4 acl was to deny everything to switch public IPs (as in the first message) with the idea that this will be applied only to external facing vlan, but it seems that now everything is blocked, even the 22 port to private IP that is set on internal vlan .. so, i lost completely connectivity to the switch .. is this something that i can solve with serial connection or i just have to reboot the switch?
@DELL-Joey C so, i solved the problem, by using the IPv6 address :)
So, going back to the question: how can i secure the access to switch services from external networks (and i see 22 and 443 open and 54320 and 54321 filtered)? Will the acl applied to vty work for all ports/services of the switch? Will an acl with allowed networks applied to vty deny anything else towards the switch IPs but still allow the switch to route traffic? Then would that mean that acls, let's say ingress ones, will be only applied to destinations beyond the switch? Thanks a lot!
VTY (Virtual Teletype) lines are used for remote terminal access to network devices such as routers and switches. In the context of Dell Networking, VTY lines allow administrators to remotely connect to a device via Telnet or SSH.
Will an acl with allowed networks applied to vty deny anything else towards the switch IPs but still allow the switch to route traffic?
Well, with proper configuration, I believe it is possible. For example, with the current configuration, it blocked your SSH connection.
Then would that mean that acls, let's say ingress ones, will be only applied to destinations beyond the switch?
What I can suggest is to contact support and raise a case to check your configuration for blocking access. If it is not done correctly, it can jeopardise your network security.
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.
DELL-Joey C
Moderator
•
4170 Posts
•
20965 Points
0
0
Posted December 11th, 2024 08:54
Hi,
Can you change the host name to host ip:
```
ip access-list Dell-ProtectIPv4
seq 20 deny tcp any host EXTERN_IPv4 eq 22
seq 21 deny tcp any host INTERN_IPv4 eq 22
seq 10000 permit ip any any
```
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.