Your kernel doesn't have at least one of the required iptables
modules, probably the REDIRECT module. If you recompile your kernel,
you might be able to make this work.
Avery
Hmmm, the original N900 kernel does AFAIK neither support iptables nor
IP forwarding. Do you have that special kernel from extra-devel
repositories installed?
> Below you can see that REDIRECT is loaded:
>
> # lsmod | grep ipt
> iptable_mangle 2176 0
> ipt_REJECT 2432 0
> ipt_NETMAP 1280 0
> ipt_MASQUERADE 2112 0
> ipt_LOG 4864 0
> iptable_filter 1984 0
> ipt_REDIRECT 1344 0
> iptable_nat 4676 0
> nf_nat 14222 4 ipt_NETMAP,ipt_MASQUERADE,ipt_REDIRECT,iptable_nat
> nf_conntrack_ipv4 10892 3 iptable_nat,nf_nat
> nf_conntrack 46524 4
> ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
> ip_tables 9424 3 iptable_mangle,iptable_filter,iptable_nat
> x_tables 11012 7
> ipt_REJECT,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_REDIRECT,iptable_nat,ip_tables
Looks fine, indeed.
No idea about the rest. Maybe iptables on the N900 is not compiled
with all necessary features? They seem to have dropped the one or
other feature in quite some packages. (I'm mostly annoyed about them
dropping the libnotify-bin package in comparison to the Debian or
Ubuntu libnotify source packages.)
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | a...@deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | a...@noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
Well, you might want to try running those commands by hand and
trimming them down to see what happens. I wouldn't be surprised if
it's the "-m ttl --ttl 42" that's the problem; you could try taking
that out of the sshuttle source, since it's sort of optional, as long
as the client machine != the server machine.
It would be better to just have the ttl module available though...
Have fun,
Avery
Okay, I've just added a patch so that sshuttle can auto-detect that
the "-m ttl" stuff doesn't work, and try again without it in that
case. You shouldn't need to pass it a command-line option. Please
let me know how it works.
Thanks,
Avery