How to filter the network traffic based on the systemd sshd service in Red Hat Enterprise Linux 7
Issue
- I wanted to filter the network traffic based on the
systemd
service. - It is possible in
RHEL8
withcgroup v2
by using--path
option ofiptables
. - How can I do the similar thing in
RHEL7
withcgroup v1
?
Environment
Red Hat Enterprise Linux 7 (RHEL7)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.