Results 1 to 2 of 2

Thread: Problem with ettercap forwrding mitm & iptables

  1. #1
    Just burned his ISO BlownCPU's Avatar
    Join Date
    Jan 2009

    Default Problem with ettercap forwrding mitm & iptables

    Hi everyone,

    After reading several tutorials on this fantastic forum I can't seem to get ettercap working properly.

    I'm trying to test my network and trying to do the MITM attack which I fully understand how it works and what it does.

    Router =
    My PC =
    Host PC = running WinXP

    I use the graphical interface although using this command gives me the same result:
    ettercap -i wlan0 -Tq -M arp:remote / /
    I'm using BT2 with a wireless connection, I am connected to the network (it's my network at home) and I have edited the /etc/etter.conf file by removing the "#" from the iptables section.

    The problem is when I exit the program I get this:
    [bt ~]# iptables v1.4.1.1: can't initialize iptables table `nat': Permission denied (you must be root)
    Perhaps iptables or your kernel needs to be upgraded.
    This I'm sure is the reason why I am not forwarding any packets and I don't know what to do here.

    Here are my iptables -L:
    bt ~ # iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    bt ~ #
    Here is my lmod | grep ipt
    bt ~ # lsmod | grep ipt
    iptable_filter          2564  0
    ipt_REDIRECT            1920  9
    iptable_nat             6404  1
    nf_nat                 14764  2 ipt_REDIRECT,iptable_nat
    nf_conntrack_ipv4      13452  2 iptable_nat
    nf_conntrack           47848  3 iptable_nat,nf_nat,nf_conntrack_ipv4
    ip_tables              10968  2 iptable_filter,iptable_nat
    x_tables               11652  4 ipt_REDIRECT,xt_tcpudp,iptable_nat,ip_tables
    bt ~ #
    I have seen a few threads on this forum but one is unanswered and the other solution did not work for me.

    Any help is much appreciated.


    Blown CPU

    PS My contribution to aircrack-ng is the tutorial making, describing and testing the "cantenna" have a look at

  2. #2
    Just burned his ISO
    Join Date
    Feb 2009


    ec_uid = 0 # nobody is the default
    ec_gid = 0 # nobody is the default
    Try making that change to your etter.conf, I made the change on Ubuntu and it fixed the error message I was getting so maybe it could help you out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts