Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Iptables (and starting it)< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Jan. 16 2008,14:17 QUOTE

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... :) )
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Jan. 16 2008,16:09 QUOTE

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?


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Jan. 17 2008,13:26 QUOTE

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 :(
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Jan. 17 2008,15:22 QUOTE

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.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Jan. 17 2008,17:59 QUOTE

2.6.12 :)
Back to top
Profile PM 
13 replies since Jan. 15 2008,15:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Iptables (and starting it)

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code