TsgcWebSocketFirewallProperties › Whitelist

Whitelist Property

Allow list of trusted IP addresses and CIDR ranges; whitelisted IPs bypass all other firewall checks.

Syntax

property Whitelist: TsgcFirewallIPList read FWhitelist write SetWhitelist;

Default Value

Remarks

Enable Whitelist.Enabled and add exact IPs or CIDR ranges to the IPs list. When the remote IP matches any entry the firewall accepts the connection and skips every other check (Blacklist, BruteForce, RateLimit, GeoIP, ThreatScore and content scanners). Use this list to guarantee access for administrative hosts, internal subnets or monitoring services that must never be blocked.

Example


sgcWebSocketFirewall1.Whitelist.Enabled := True;
sgcWebSocketFirewall1.Whitelist.IPs.Add('192.168.1.1');
sgcWebSocketFirewall1.Whitelist.IPs.Add('172.16.0.0/16');

Back to Properties