Whitelist an IP address in IPTables.

How to whitelist IP address

Step 1: Log into the server via SSH.

Step 2: Allow incoming connections from

# iptables -A INPUT -s -j ACCEPT

Step 3: Allow outgoing connections to

# iptables -A OUTPUT -d -j ACCEPT


  • IPTables, Whitelist, SSH, block ip, whitelist ip
  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

Where is the servers located?

The main servers are located in Los Angeles. We also have backup servers in Las Vegas and round...

How is your web hosting so fast?

To be honest it's not one big thing although there is a couple more expensive things we do to be...

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl