- This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by .
- You must be logged in to reply to this topic.
Good day,
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!
Hi!
Which script are you using?
Yeah, thos iptables will cut connection if you are not running any script that uses netfilterqueue.
Let me know.
Diego
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!
Hi!
Cool you got it!
Diego
Not a member yet? Register now
Are you a member? Login now
All of our courses include:
✔ Lifetime, unlimited access to course materials & training videos.
✔ Verifiable certificate of completion from zSecurity, signed by the course instructor, Zaid.
✔ Get answers from our Support Team within a maximum of 15 hours.
✔ Unlimited Updates.
Get free 1 month VIP membership per course with:
✔ Live mentorship and Q&A session with the course instructor, Zaid.
✔ Instant support from community members through our private discord channel.
✔ Daily updates with the latest tutorials & news in the hacking world.
✔ Daily resources like CTFs, bug bounty programs, onion services and more!
✔ Access our VIP community & connect with like-minded people.
✔ Discounts on other zSecurity products and services.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
This website uses Google Analytics and Linkedin to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookies enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!