Hi gurus,
I am trying limit ingress/egress traffic on my controller through specific IPs, ports and interfaces. I have found the "firewall cp" command, but it seems this is only for ingress traffic o traffic being forwarded to the controller, and also you can't specify the interface. Then I thought of creating extended ACLs and applying them to the interface I want to limit the traffic.
For example, if I want my controller only accepts traffic UDP 500 and 4500 from network 10.80.83.0/24 through GE0/0/0 interface (IP 10.80.83.21) I would do:
ip access-list extended test
permit udp 500 10.80.83.0 255.255.255.0 host 10.80.83.21
permit udp 4500 10.80.83.0 255.255.255.0 host 10.80.83.21
deny any any any
interface gigabitethernet 0/0/0
ip access-group in test
Similar for egress traffic. Will it work? Please your help. Thanks in advance.
Regards,
Julián