Trying to better understand the pinning concept!

I think your question about running a gateway connects to the discussion here: