Networking :: Iptables (and starting it)



Quote (curaga @ Jan. 15 2008,10:52)

;_;
ok so i cannot use iptables for dsl-n... :(
Quote
You can block sites without iptables, too:
Just add the url(s) of the site to /etc/hosts with an ip of 127.0.0.1, so they all point to yourself and unless you are running a web server, no getting to those pages.
Oh cool
and i can also do the viceversa? i mean: allowing only 2 url and redirecting others to 127.0.0.1? (this is what i need to... :) )

correction: iptables.dsl with can't be used with dsl-n. iptables can, if you can compile it.

Sorry, /etc/hosts only works that way, it can't allow some and direct all others to something. Iptables is needed for that..

I think though that the iptables modules are included in DSL-N; not sure though. does
Quote
find /lib/modules -name "*conntr*"
give any output?

Quote (curaga @ Jan. 16 2008,11:09)
I think though that the iptables modules are included in DSL-N; not sure though. does
Quote
find /lib/modules -name "*conntr*"
give any output?

nope, no output :(

Well, if the modules aren't included, you're facing building the kernel. Have you done it before?
It's quite easy, you can use the default configuration as a base, just select the ip tables modules, and maybe remove stuff you don't need. If you compile for your processor, it will run faster too.

It's 2.6.13 patched with unionfs, I think.

2.6.12 :)
Next Page...
original here.