I can't call my groove A using my raspberry pi

Hi guys,

I need a little help with my setup, I have a Groove A AP connected to a Raspberry Pi on a switch..for some reason I can’t use the bash script I created to login to the router using ssh.Is there a firewallrule or Nat I need to setup to allow communication from my pi to my Mikrotik Groove?