How to write shell script for iptable

ltreborn

New Member
Joined
Dec 31, 2019
Messages
1
Reaction score
0
Credits
0
I am new to shell script. I want to parse log extract from swatch to another Linux machine(to append the iptables firewall script).
Could you please provide me the recommendation how to write a shell script to receive log from the machine running swatch including add the ip to iptables as firewall?

Here is my example screen output of running swatch.

5058


Thank you so much.
 

Attachments

  • swatch.JPG
    swatch.JPG
    39.3 KB · Views: 413

Members online


Top