How to read ip and port from text file and put in firewall
0
votes
0
answers
375
views
I decided to use iptables and ipset to read text file that contains source ip and destination port. I want to drop these flows. Is it possible and how to write command to perform this?
The file is:
192.45.67.89,22
54.123.212.51,22
123.12.15.46,23
...
Asked by Jess Brown
(83 rep)
Apr 4, 2020, 01:57 PM
Last activity: Apr 4, 2020, 02:08 PM
Last activity: Apr 4, 2020, 02:08 PM