See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I reverse these iptables commands?
#1

[size=1em]I am learning about Splunk in my spare time, and a lab called for "Data Onboarding: IPtables Logs."  The goal was to get more data into Splunk by using the following commands to generate syslog data.  The commands are:[/size]

[size=1em]iptables -I INPUT 1 -j LOG[/size]
[size=1em]iptables -I FORWARD 1 -j LOG[/size]
[size=1em]iptables -I OUTPUT 1 -j LOG[/size]

[size=1em]I was following along the lab, and when I finished the lab, I didn't think anything of the changes I made.  I hadn't touched my Splunk environment for several days, and then today I noticed I was getting license warnings because my Splunk setup was going over the daily data limit for my free license.  I assume it has something to do with the above commands.  Does anyone know how to reverse the above commands?  I don't know much about iptables.  My educated guess was to type in the following and restart Splunk.[/size]

[size=1em]iptables -D INPUT 1 [/size]
[size=1em]iptables -D FORWARD 1 [/size]
[size=1em]iptables -D OUTPUT 1 [/size]

[size=1em]I don't know if what I entered above is the proper way to reverse the commands or not.[/size]
Want to thank me?  Click my [Thank] link.
Reply


Messages In This Thread
How do I reverse these iptables commands? - by torreydale - 05-07-2020, 11:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)