Hello Muhammed,
You can create an inbound ACL on the SVI to block traffic to all internal RFC1918 addressing and permit everything else to the internet. But maybe you have to permit traffic to things like any internal DNS or default GW first? if not then you can remove line 1.
We can do this like below:
ip access-list extended BLK-RFC1918
1 permit ip any host 172.16.5.1
10 deny ip any 10.0.0.0 0.255.255.255
20 deny ip any 192.168.0.0 0.0.255.255
30 deny ip any 172.16.0.0 0.15.255.255
100 permit ip any any
!
interface vlan 5
ip access-group BLK-RFC1918 in
Hope this helps
Bilal
Please rate useful posts & remember to mark any solved questions as answered. Thank you.