fbpx

Tutorial: APF Command

In this DIY:

Few basic APF commands like allowing IP’s, Blocking IP’s and Unblocking IP’s will be covered in this DIY tutorial.

Note to use these commands you will need root access.

Allowing IP Addresses

1.Sign into your server via SSH

2.Below is the breakdown of apf command

apf -a

the Below example for command in your shell instance.

[email protected] [~]# apf -a 123.456.789 Allowing Office IP

Blocking IP Addresses

1.Sign into your server via SSH

2.Below is the breakdown of apf command

apf -d

the Below example for command in your shell instance.

[email protected] [~]# apf -d 123.456.789 Blocking Office IP

Unblocking IP Addresses in APF

1.Sign into your server via SSH

2.Below is the breakdown of apf command

apf -u

the Below example for command in your shell instance.

[email protected] [~]# apf -u 123.456.789

Kudos!, Now you have completed DIY on Basic APF commands.

Leave A Comment