Re: WEP not working masquarading?

From: Jouni Malinen (
Date: 2002-04-25 04:55:36 UTC

On Tue, Apr 23, 2002 at 07:15:13PM -0700, Keith Mayfield wrote:

> My eth0 is connect to my cable modem to the net.

> iptables -t nat -A POSTROUTING -p TCP -j MASQUERADE

I would add '-o eth0' to that in order to prevent masquerading in the other direction..

> If I put in the windoze 64 WEP as 1234567890 and then
> issue the following command on the Host AP:
> iwconfig wlan0 enc 1234567890
> I can ping the Host Ap with the windoze machine, but I
> cannot surf the web.

Hmm.. I was unable to duplicate this. Masquerading TCP packets from AP to Internet worked fine with and without WEP. Could you test whether TCP connections between client and AP hosts work? What about ping from client to Internet (of course with '-p TCP' removed from iptables line).

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.