mintmousse.removeFromWhitelist
Removes the given rules from the whitelist.
Active Connections
Removing a rule does not disconnect clients who are already connected. The whitelist is only checked at the moment a new connection is attempted.
Synopsis
Parameters
removalsstring or table (nil)- The rule(s) you want to remove. * If a string is passed, it is treated as a single rule. * If a table is passed, it must be a continuous array of strings.
Rule Matching
To successfully remove a rule, the string must exactly match the format used when it was added (e.g. if you add a CIDR range, you must provide the same CIDR range to remove it).
Note, removing "localhost", "local", "127.0.0.1", or "::1" will remove both the IPv4 and IPv6 loopback entries simultaneously.
Returns
Nothing.
Examples
mintmousse.removeFromWhitelist("192.167.4.27")
mintmousse.removeFromWhitelist({
"localhost",
"10.0.0.0/8",
})