Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#41
Can I ask for an update to the NAT setup?

When running
# echo 1 > /proc/sys/net/ipv4/ip_forward
# ettercap -T -q -P dns_spoof -M arp:remote -i wlan0 /192.168.0.2/ //

This error comes to surface:

iptables: No chain/target/match by that name.

A bit of digging around found this possible cause, set up CONFIG_NETFILTER_XT_TARGET_REDIRECT in kernel config (Networking support -> Networking options -> Network packet filtering framework (Netfilter) -> Core Netfilter Configuration -> REDIRECT target support).

Thanks, once more, this NAT support have been nagging me, so happy it got implemented

Last edited by nieldk; 2013-08-22 at 08:16. Reason: Added correct commandline :)
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#42
I don't see CONFIG_NETFILTER_XT_TARGET_REDIRECT in the config, but I do see CONFIG_IP_NF_TARGET_REDIRECT.

Will that work?
 

The Following User Says Thank You to jackburton For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#43
Originally Posted by jackburton View Post
I don't see CONFIG_NETFILTER_XT_TARGET_REDIRECT in the config, but I do see CONFIG_IP_NF_TARGET_REDIRECT.

Will that work?
Might be because of kernel version. Werr I saw this, it was kernel version 3
Your finding sounds right, and I would love to test it
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#44
Originally Posted by nieldk View Post
When running
# echo 1 > /proc/sys/net/ipv4/ip_forward
# ettercap -T -Q -M arp:remote -i wlan /192.168.0.2/ // -P dns_spoof
Do not know if it is only typo above, but the interface name is wlan0.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#45
Originally Posted by peterleinchen View Post
Do not know if it is only typo above, but the interface name is wlan0.
That, is a typo
Thanks
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#46
Originally Posted by nieldk View Post
Might be because of kernel version. Werr I saw this, it was kernel version 3
Your finding sounds right, and I would love to test it
Compiling now. I'm also moving mac80211 and cfg80211 to modules to try the latest wl12xx drivers from Linux backports.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#47
Originally Posted by jackburton View Post
Compiling now. I'm also moving mac80211 and cfg80211 to modules to try the latest wl12xx drivers from Linux backports.
Fantastic! Perhaps we are moving towards even Packet Injection here
Thanks mate! Donation coming up for this
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#48
New kernel coming.
Code:
RM696-21-3_PR_006:~#
find /lib/modules/2.6.32.54lopan-dfl61/ -iname '*redirect*'
/lib/modules/2.6.32.54lopan-dfl61/kernel/net/ipv4/netfilter/ipt_REDIRECT.ko
RM696-21-3_PR_006:~# modprobe ipt_REDIRECT
RM696-21-3_PR_006:~# lsmod | grep -i redirect
ipt_REDIRECT            1017  0
nf_nat                 12403  1 ipt_REDIRECT
RM696-21-3_PR_006:~#

Last edited by jackburton; 2013-08-22 at 13:28.
 

The Following 2 Users Say Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#49
 

The Following 2 Users Say Thank You to jackburton For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#50
Downloaded.....flashing next
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:18.