You are on page 1of 1

# Netfilter (iptables) rules for

wireshark_3_interfaces_20190827021916_a15192.pcapng, packet 3642. Change eth0 to a


valid interface if needed.

# IPv4 source address.


iptables --append INPUT --in-interface eth0 --source 62.67.238.152/32 --jump DROP

# IPv4 destination address.


iptables --append INPUT --in-interface eth0 --source 10.102.37.150/32 --jump DROP

# Source port.
iptables --append INPUT --in-interface eth0 --protocol tcp --source-port 443 --jump
DROP

# Destination port.
iptables --append INPUT --in-interface eth0 --protocol tcp --source-port 57909 --
jump DROP

# IPv4 source address and port.


iptables --append INPUT --in-interface eth0 --protocol tcp --source
62.67.238.152/32 --source-port 443 --jump DROP

# IPv4 destination address and port.


iptables --append INPUT --in-interface eth0 --protocol tcp --source
10.102.37.150/32 --source-port 57909 --jump DROP

# MAC source address.


iptables --append INPUT --in-interface eth0 --mac-source 00:ff:e0:1b:5b:18 --jump
DROP

# MAC destination address.


iptables --append INPUT --in-interface eth0 --mac-source 00:ff:df:1b:5b:18 --jump
DROP

You might also like