![]() |
Re: dsniff/ettercap do not work without NAT iptables
The result of iptables -t nat -L is:
Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination |
Re: dsniff/ettercap do not work without NAT iptables
Then the nat table and the POSTROUTING chain exist. The problem has to be with the MASQUERADE target. Is the ipt_MASQUERADE module inserted? What is the output of lsmod?
|
Re: dsniff/ettercap do not work without NAT iptables
Hmm... When I type in
iptables -t MASQUERADE -L I got the following: iptables v1.3.6: can't inintalize iptables table 'MASUERADE': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. And when I try to rerun the command: insmod /lib/modules/2.6.21-omap1/net/ipv4/netfilter/ipt_MASQUERADE.ko I got the following: insmod: cannot insert '/lib/modules/2.6.21-omap1/net/ipv4/netfilter/ipt_MASQUERADE.ko': File exists (-1): File exists Any ideal??? |
Re: dsniff/ettercap do not work without NAT iptables
MASQUERADE is a target, not a table, so the command you ran should fail.
Please run the command iptables -t nat -I POSTROUTING -j MASQUERADE and report the result. PLEASE, please also include the output from lsmod. |
Re: dsniff/ettercap do not work without NAT iptables
I ran the command
iptables -t nat -I POSTROUTING -j MASQUERADE and the result is: iptables v1.3.6: no command specified Try 'iptables -h' ro iptables --helo' for more information |
Re: dsniff/ettercap do not work without NAT iptables
The I is a capital i, not a small L.
|
Re: dsniff/ettercap do not work without NAT iptables
When I type in:
iptables -t nat -I POSTROUTING -j MASQUERADE there aren't any output. Just show a new prompt. any ideal? |
Re: dsniff/ettercap do not work without NAT iptables
This means that the command is accepted without errors. This is the unix way - no unnecessary output.
Now try the same successful command with additional -o bnep0 and see if it works. |
All times are GMT. The time now is 23:27. |
vBulletin® Version 3.8.8