I have established internet sharing between my Dell Laptop running Ubuntu 18.04 and the Wifi Pineapple Nano with the wp6.sh with no issues (it was really easy). However, when I tried the same thing with my Raspberry Pi3 running Kali the wp6.sh failed once I selected the connect option. Below are the versions of iptables on the Wifi Pineapple Nano, the Raspberry Pi3 running Kali, and my Dell running Ubunutu. Based on the error message I am wondering if these different versions are the source of the issue.
---------------------------------------------------------------
root@Pineapple:~# iptables --version
iptables v1.4.21
root@Kali:~# iptables --version
iptables v1.8.2 (nf_tables)
root@Dell:~# iptables --version
iptables v1.6.1
---------------------------------------------------------------
_ ___ _______ ____ _ __
| | / (_) ____(_) / __ \(_)___ ___ ____ _____ ____ / /__
| | /| / / / /_ / / / /_/ / / __ \/ _ \/ __ '/ __ \/ __ \/ / _ \
| |/ |/ / / __/ / / / ____/ / / / / __/ /_/ / /_/ / /_/ / / __/
|__/|__/_/_/ /_/ /_/ /_/_/ /_/\___/\__,_/ .___/ .___/_/\___/
/_/ /_/ v6.5
Saved Settings: Share Internet connection from eth0
to WiFi Pineapple at eth1 through default gateway 192.168.1.1
[C]onnect using saved settings
[G]uided setup (recommended)
[M]anual setup
[A]dvanced IP settings
[Q]uit
Detecting WiFi Pineapple......found.
_ . ___ \||/
( _ )_ <--> [___] <--> ,<><>,
(_ _(_ ,) \___\ '<><>'
iptables: Operation not supported.
iptables: Operation not supported.
iptables v1.8.2 (nf_tables): Couldn't load match `state':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.2 (nf_tables): Couldn't load match `state':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.2 (nf_tables): Chain 'MASQUERADE' does not exist
Try `iptables -h' or 'iptables --help' for more information.
Browse to http://172.16.42.1:1471