How to Whitelist IP for Remote Workers Using a VPN

With more teams working remotely than ever, digital security has never been a bigger problem. Reports show that malware and phishing attempts have increased in an attempt to capitalize on more open network connections and fear than ever before.

For remote teams, this poses a problem. On the one hand, home WiFi security is notoriously lax. With company employees accessing internal servers and sensitive information regularly though, the question remains — is there a way for remote teams to access company servers securely?

In pursuit of improved cybersecurity, more companies are turning to VPNs with dedicated IP capabilities to ensure their team’s connections stay secure. Using a dedicated IP and a VPN, teams can access remote servers securely, and company servers can limit access to a whitelisted IP address.

What Is a VPN?

VPNs are digital security tools used to provide secure network access, regardless of where you are. Using a VPN, you can encrypt your data and access otherwise geo-restricted content.

Here’s how it works:

  1. To make things easy, download and install a VPN app on your device.
  2. Once installed, log in, and select a server location from the drop-down menu. Your VPN’s server location will dictate the kind of content that you’re able to see.
  3. Once you connect to the VPN server, your web traffic will be encrypted, and you’ll be given the IP address of the server you’re using.

In the event that you choose to use a dedicated IP VPN, you’ll be able to connect to your company’s server using the same IP address every time, all while ensuring that you maintain the absolute utmost security by leveraging the encrypted tunnel of a VPN connection. Furthermore, you’ll have no problem getting into IP-restricted connections because your dedicated VPN IP address will be whitelisted.

What Is IP Whitelisting?

When a company has a remote team, they can use a VPN to ensure their team’s data is not easily intercepted by a third party.

However, for an added layer of security, companies can also protect their sensitive information with the use of an IP whitelist.

IP whitelisting is the practice of designating specific IP addresses as approved for access to internal networks. If someone attempts to connect to your network, and their IP address isn’t on your whitelist, they won’t have access — plain and simple.

How to Create a Whitelist IP Address

How you create a whitelist IP address will depend on the network or platform you’re using. The instructions for each will vary, so we’ve consolidated a few below for you.

Creating a Salesforce Whitelist IP Address List

In Salesforce, you’re able to whitelist IP addresses for any profile or customize by whitelisting an IP address for a specific profile only. Here’s how you do it:

  1. In Salesforce, click Setup
  2. Using the search box, enter ‘Security Control’
  3. In the options that appear below, click on Network Access
  4. In the Trusted IP Ranges menu, click New
  5. Enter the start and end IP addresses for those you wish to whitelist, and click Save

Creating a WHM Whitelist IP Address List

  1. Login to WHM as Root
  2. In the search box, type ‘cPHulk Brute Force Protection’
  3. Click the link that comes up under Security Center
  4. Click on Whitelist Management
  5. Add the IP addresses that you want to whitelist, putting each on a different line
  6. Click Add to save your work

Creating a WordFence Whitelist IP Address List

  1. In your WordPress dashboard, hover over WordFence, and click on Firewall from the submenu
  2. Click on All Firewall Options
  3. On the next screen, input your IP addresses into the text box, and click on Save Changes

Creating a cPanel Whitelist IP Address List

  1. In your web hosting account, open cPanel from the Account Management Panel
  2. Using the search function, find File Manager
  3. Open the public_html, or root director from the menu on the left
  4. Right-click on the screen to get a drop-down menu, and select Edit
  5. In the next window, click Edit again
  6. At the end of the code on the next window, input the IP addresses where you see IP_ADDRESS_ONE to whitelist those IPs
  7. Any IP addresses you input into the code here will have admin panel access now

Creating an Office365 Whitelist IP Address List

  1. Log into your Office365 mail account, and access the mail server admin portal
  2. In the Admin control panel, click on Exchange
  3. Under the Protection menu, click on Connection Filter
  4. Click the pencil icon
  5. At the top of the screen, click on the plus icon
  6. Input your IP addresses, and click on OK

Creating a Gmail Whitelist IP Address List

  1. Go to admin.google.com to access your Google administrative dashboard
  2. Under Apps, go to GSuite
  3. Click on Gmail
  4. Click on Advanced Settings
  5. In the menu on the left, select the top-level organization
  6. Using the search box, search for ‘email whitelist’
  7. Input the IP addresses you want to whitelist, using a comma to separate multiple IP addresses
  8. Click Save

Creating an AWS Whitelist IP Address List

Whitelisting IP for AWS services is not as complicated as you think, just follow these steps:

  1. In the menu on the top right, select Services
  2. Under EC2, click on Security Groups
  3. Click on Create Security Group
  4. Under the Inbound tab, click on Add Rule
  5. Set the Type to All Traffic, and Source to Custom
  6. Add your whitelisted IP addresses to the text box, and click on Create
  7. From the EC2 dashboard, click on Running Instances and make your selection
  8. Under the Actions dropdown menu, choose Networking, and click on Change Security Groups
  9. Select the security group you just created, and click on Assign Security Group

Creating a WordPress Whitelist IP Address List

  1. Log in to your WordPress website using your FTP credentials, and select on your root or public_html folder
  2. Find the .htaccess file
  3. Go to the end where it says # END WordPress
  4. Paste the following code right above that line:

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$

RewriteCond %{REMOTE_ADDR} !^FIRST_IP_ADDRESS$

RewriteCond %{REMOTE_ADDR} !^SECOND_IP_ADDRESS $

RewriteRule ^(.*)$ - [R=403,L]

</IfModule>

5. Enter the IP addresses you want to whitelist in the sections marked in the code and save your changes

Creating a ModSecurity Whitelist IP Address List

  1. In your ModSecurity dashboard, select Settings
  2. Select Configuration
  3. In the Custom Directives field, add the following rule:

SecRule REMOTE_ADDR “@IPMatch 203.0.113.2,203.0.113.3” phase:1,log,allow,ctl:ruleEngine=Off,id:55666

Creating a SonicWall Whitelist IP Address List

  1. Log in to SonicWall and click on Manage
  2. Under Security Services, click Anti-Spam
  3. Click on Address Book
  4. Click on Allowed
  5. Click Add
  6. In the Select list type dropdown menu, select IPs
  7. Enter the IP addresses you want to whitelist, and click on Add

Creating a Cloudflare Whitelist IP Address List

  1. Log in to Cloudflare
  2. At the top of the screen, click on the Firewall icon
  3. Click on Tools
  4. Type in your IP address(es) on the next screen
  5. From the dropdown menu, select Whitelist
  6. Click on Add

Using IP Whitelisting for Secure Remote Access

IP address whitelisting is a powerful, simple way to ensure the security of remote network users. Use the steps in this guide to add an extra layer of security to your team’s remote work procedures, but note that you can ONLY do this with a VPN that allows dedicated IP addresses.

Learn more about using a dedicated IP address VPN — chat with PureVPN support to get started.

Get PureVPN

Rameez Ghayas Usmani Rameez Ghayas Usmani is a data-science and SEO enthusiast. He loves to apply machine learning algorithms to the digital marketing industry in order to amplify the marketing results. His expert quotes on Digital Marketing and SEO appeared in media such as Entrepreneur.com, Oracle Marketing Platform, Search Engine Watch, Business2Community, and Herald Tribune.

Have Your Say!!

Join 3 million+ users to embrace internet freedom

Signup for PureVPN to get complete online security and privacy with a hidden IP address and encrypted internet traffic.

Shares