Talk:SetupSquidTransparentProxy

From WebOS Internals
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 problem apparently happens only 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.


5/5/2011 - pixxels I'm attempting this now on my original palm pre. Is root access still required? Or is there a preware app/package that will do this all for me now. :)

Delta's I observed doing running process

1) 'Prepare the directories for squid' The directory locations are different. They were opt/var/squid instead of var/cache/squid