Configuring IPtables
Before you configure your Verdasys Digital Guardian to forward events, you must configure IPtables in IBM QRadar to allow ICMP requests from Verdasys Digital Guardian.
Procedure
-
Use an SSH to log in to QRadar as the root user.
Login:
rootPassword:
<password> -
Type the following command to edit the IPtables file:
vi /opt/qradar/conf/iptables.post
The IPtables configuration file is displayed.
-
Type the following commands to allow QRadar to accept ICMP requests
from Verdasys Digital Guardian:
-I QChain 1 -m icmp -p icmp --icmp-type 8 --src <IP address> -j ACCEPT
-I QChain 1 -m icmp -p icmp --icmp-type 0 --src <IP address> -j ACCEPTWhere <IP address> is the IP address of your Verdasys Digital Guardian appliance. For example,
-I QChain 1 -m icmp -p icmp --icmp-type 8 --src <Source_IP_address> -j ACCEPT-I QChain 1 -m icmp -p icmp --icmp-type 0 --src <Source_IP_address> -j ACCEPTNote: Make sure that you specify"--icmp-type"in the commands to avoid failures when you're upgrading the IPTables. - Save your IPtables configuration.
-
Type the following command to update IPtables in QRadar:
/opt/qradar/bin/iptables_update.pl
-
To verify that QRadar
accepts ICMP traffic from your Verdasys Digital Guardian, type the following command:
iptables --list --line-numbers
The following output is displayed:
[root@Qradar bin]# iptables --list --line-numbersChain QChain (1 references)num target prot opt source destination1 ACCEPT icmp -- <IP address> anywhere icmp echo-reply2 ACCEPT icmp -- <IP address> anywhere icmp echo-request3 ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https4 ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:httpThe IPtables configuration for QRadar is complete.