Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Mana-toolkit / iptables not working anymore? #1235

Open
yesimxev opened this issue Dec 24, 2018 · 2 comments
Open

Mana-toolkit / iptables not working anymore? #1235

yesimxev opened this issue Dec 24, 2018 · 2 comments

Comments

@yesimxev
Copy link

yesimxev commented Dec 24, 2018

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.
@yesimxev
Copy link
Author

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

@yesimxev
Copy link
Author

yesimxev commented Apr 1, 2019

Still not sure why is --destination-port 443 unknown command, and why does the command works on pc. Kernel related? Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant