Allow Specific IP Address

Allow traffic from one trusted IP only, optionally to a specific port.

Restricts access to a specific port to connections originating from a single IP or CIDR block. Much more secure than opening a port to all IPs.

When you need this: When exposing a database or admin port that should only be accessible from a known IP.

Variables

Command


        
7 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.