kali-nethunter
kali-nethunter copied to clipboard
Mana-toolkit / iptables not working anymore?
Device: OnePlus One
OS version (KitKat/Lollipop/Marshmallow/Nougat): Marshnmallow
Built from repo (date and build command) or downloaded from website (links):
build.nethunter.com
Output of cat /proc/version
in adb shell or NetHunter Terminal:
Linux version 3.4.112-yesimxev-cyanogenmod (root@kali) (gcc version 4.8 (GCC) ) #14 SMP PREEMPT Thu Dec 20 23:00:23 CET 2018
Issue:
Seems like port forwarding is not working anymore? So mana fails to work with nat-full too. Mitmf fails too.
iptables -t nat -A PREROUTING -i wlan1 -p tcp --destination-port 443 -j REDIRECT --to-port 10443
iptables v1.8.2 (nf_tables): unknown option "--destination-port"
Try `iptables -h' or 'iptables --help' for more information.
Installing iptables 1.6 with it's dependecies does the trick. Not sure why is it different, the command should work as it is correct in terms of man page
Still not sure why is --destination-port 443 unknown command, and why does the command works on pc. Kernel related? Any ideas?