Skip to content

Whitelist IP

Burke Mamlin edited this page Dec 10, 2016 · 4 revisions

Location

  • Staging: djoum/XSEDE
  • Production: batouri/XSEDE
sudo su -
sh /opt/scripts/whitelist.sh

Manually adding IP addresses

You can perform the steps of the script above manually using the following commands, replacing 0.0.0.0 with the IP address to be whitelisted.

$ mysql -u root -p
mysql> use id_dashboard;
mysql> INSERT INTO IPWhitelists (address, createdAt, updatedAt)
   --> VALUES ('0.0.0.0', NOW(), NOW());
Query OK, 1 row affected (0.21 sec)

See LP folder for ID Dashboard MySQL root password.

FYI, the spam information comes from DNS blacklist services. The exact list of services can be found here: https://github.com/openmrs/openmrs-contrib-id/blob/production/app/system-modules/signup/conf.signup.json#L16

Clone this wiki locally