I have a Cisco Nexus switch that I'm using as my core router. It has a connection to a firewall that handles internet-bound traffic. The switch acts as the default gateway with a default route to the firewall.
I am building out a DMZ vlan and I would like to force all DMZ-to-internal traffic through the firewall, rather than using the local routes on the core switch. I understand I can do this with PBR, setting the next-hop for traffic from this vlan to the firewall.
However, I would like to specifically allow SMB traffic from my DMZ vlan to my NAS (located in one of my internal vlans) to bypass the firewall, since my firewall link is 1Gb and the rest of my network is 10Gb. I understand that I need to use a combination of ACLs and PBR on my DMZ vlan to accomplish this, but I cannot figure out the right combo. My thought is an ACL allowing SMB traffic from the DMZ vlan to the NAS, then PBR for the rest of the DMZ vlan traffic. When I try to do this though, all non SMB traffic is just dropped by the ACL rather than being PBR'd.
Is what I want possible? What should the ACLs and PBR policy look like? Thanks for any advice in advance.
Edit to add: I know this would be made easier if I just made the firewall the gateway and made all routing decisions there, but then I would lose out on 10Gb throughput between internal devices, as my firewall only has 1Gb interfaces.