Talk:SetupSquidTransparentProxy

From WebOS Internals
Revision as of 01:17, 30 June 2010 by Knjiem (talk | contribs) (Answered my own question.)
Jump to navigation Jump to search

What version of WebOS did you use for this? On SDK version 1.4.1 or 1.4.5, both of which use Linux kernel version 2.6.26, when I attempt to list what's in the "nat" table I get the error:

  # iptables -t nat -L -n
  iptables v1.4.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
  Perhaps iptables or your kernel needs to be upgraded.

Other attempts to use iptables with "-t nat" get similar results. I haven't followed the instructions from the beginning, but I don't see anywhere in there that it installs the required kernel module. At the moment I don't know where to get the required kernel module.

(Added later) The above scenario happens with the Palm SDK emulator. A real Palm Pre seems to have NAT built in. The one I'm testing against runs Kernel version 2.6.24, not 2.6.26, and "iptables -L -n -v -t nat" works fine.