[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Getting startedFebruary 21, 2023

How to Whitelist/Allow an IP address on CentOS, Redhat, Fedora Linux Server

How to Whitelist/Allow an IP address on CentOS, Redhat, Fedora Linux Server

Steps to Allow incoming and outgoing connection in IPtables Firewall is given below.

 

How to Whitelist/Allow Incoming connection from an IP address

  1.   Login into your Linux server via SSH as ‘root’ user
  2. Run the command

iptables -A INPUT -s IPADDRESS -j ACCEPT

to whitelist/Allow the IP address

  1. Save the Iptables rule by running the command

service iptables save

  1. You must replace “IPADDRESS” in the Step 2 with the IP address you wish to whitelist.

 

How to Whitelist/Allow Outgoing connection to an IP address

  1.  Login to the Linux server via SSH as ‘root’ user
  2. Run the command

iptables -A OUTPUT -d IPADDRESS -j ACCEPT

to whitelist Outgoing connections

  1. Run the command

service iptables save

to save the IPtables rules.

Keep reading
How to use ln command.
June 28, 2023

How to use ln command.

How To Use Ln Command. In this tutorial we will show you how to use ln command to create a symlink. Links Types There are two types of links in Linux/UNIX systems: Hard links. You can think a hard link as an additional name for an existing file. Hard links are associating two or…

Read article
How to use touch command.
June 28, 2023

How to use touch command.

How To Use Touch Command. In this article we will show you hou to use touch command. Files Timestamps. Before going into how to use the touch command, let’s start by reviewing the file timestamps. A file in Linux has three timestamps: atime (access time) – The last time the file was…

Read article
How to Mount and Unmount File Systems.
June 28, 2023

How to Mount and Unmount File Systems.

How To Mount And Unmount File Systems. In this tutorial, we will go over the basics of attaching and detaching various file systems using the mount and umount commands. How to List Mounted File Systems When used without any argument, the mount command will display all currently attached file…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00