- July 26, 2020 at 8:05 pm #43095Mbg891Participant
I have some troubles with the iptables command in Kali terminal. I am writing the following code like Zaid has shown in order to reroute packets to the NFQueue:
iptables -I OUTPUT -j NFQUEUE –queue-num 0
iptables -I INPUT -j NFQUEUE –queue-num 0
Problem is – sometimes this works, sometimes it doesn’t… and when it does, it doesn’t last long before the connection is dropped on my browser, thus disabling any further processes attempted in the lectures. The issue is immediately resolved as soon as I flush these tables using iptables –flush, but then clearly I am not achieving the goal.
What may be causing the loss of connection?
Only using these commands to practice attacks inside the Kali VM, as the -I FORWARD works with my Win10 VM flawlessly.
Thank you!July 27, 2020 at 4:02 am #43115diegoModerator
Which script are you using?
Yeah, thos iptables will cut connection if you are not running any script that uses netfilterqueue.
Let me know.
DiegoJuly 27, 2020 at 6:40 pm #43160Mbg891Participant
Good day Diego,
Thanks for your response. I must have been running the iptables command, trying to browse to a website to set-up for my code_injector.py script but failing to run it prior to said browsing… thus causing a hang.
Makes sense that netfilterqueue needs to be running prior to browsing. Great catch!
Cheers!July 28, 2020 at 4:21 am #43184diegoModerator
Cool you got it!
- You must be logged in to reply to this topic.