Ip whitlisting doesn't seem to work

I’m trying to limit access to my gitlab so people will have to go through the office VPN, the enviroment is

  • installed on Ubuntu 20.4

  • omnibus install

  • gitlab version is 14.7.0

I have uncommented and added the ip I want to white list in the gitlab.rb as so
gitlab_rails['monitoring_whitelist'] = ['127.0.0.0/8', '192.168.0.1', 'xxx.xxx.xxx.xxx']

I’ve gitlab-ctl-reconfigure and restarted, even rebooted the server just to be sure, but I am still able to access it from a random IP that is not the one I put in the whitlist. Am I doing something wrong?