Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:36 AM
RayzrShrp
 
Posts: n/a
Default slackware with 2 nics as firewall vs netgear router/firewall

Currently I'm operating slack9 on a pentium 133 with 48 megs of RAM
and a 20 gig hd. My question is which is better running slack9 with 2
nics as my firewall or just keeping the netgear router doing ip
natting with port forwarding for my services. I realize with using
slack with 2 nics I can control every single aspect of the firewall
rules & do fun stuff like packet scanning into my network but are
there any other pros? The router seems to be doing a good enough job
and I guess I wonder which is going to be more secure in the long run.
Now granetd I'm semi-new to linux but not really and I understand that
my .conf files and scripts are ultimatly goign to control how secure
the slack firewall would be. How secure is the netgear router vs a
well configured slack firewall? Is one gonig to be faster then the
other

suggestions, ideas, insults welcome
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:36 AM
Simon
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

On 23 Jun 2003 14:51:04 -0700, RayzrShrp <rayzrshrp@tds.net> wrote:
> The router seems to be doing a good enough job
> and I guess I wonder which is going to be more secure in the long run.


I'd say the Linux-based machine (if configured correctly). I have no
knowledge of the workings of Netgear routers (other than IP routeing
theory), but fixes for Linux security problems seem to appear faster
than those for routers.

> Is one gonig to be faster then the other


Probably (no, I don't know which), but on the sort of Internet
connection most people have at home, you won't strain either of the
boxes.


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:36 AM
joseph philip
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

On Mon, 23 Jun 2003 14:51:04 -0700, RayzrShrp wrote:

> Currently I'm operating slack9 on a pentium 133 with 48 megs of RAM and
> a 20 gig hd. My question is which is better running slack9 with 2 nics
> as my firewall or just keeping the netgear router doing ip natting with
> port forwarding for my services. I realize with using slack with 2 nics
> I can control every single aspect of the firewall rules & do fun stuff
> like packet scanning into my network but are there any other pros? The
> router seems to be doing a good enough job and I guess I wonder which is
> going to be more secure in the long run. Now granetd I'm semi-new to
> linux but not really and I understand that my .conf files and scripts
> are ultimatly goign to control how secure the slack firewall would be.
> How secure is the netgear router vs a well configured slack firewall? Is
> one gonig to be faster then the other
>
> suggestions, ideas, insults welcome


My setup:

I have a p100 with 64 MB and a 6 GB disk and a 40 GB disk in the basement.
It's hooked up to two ethernet cards, one going to the lan and another to
an ADSL modem. Sustained transfer rates are always above 130KB/s, as
GkRellm would measure it.

What the system does:
1. MASQUERADE outbound connections from the LAN. 2. Mark *each* packet
that goes through the system for handling by the fwmark classifier, which
dumps them into different transmission queues. Yes, bandwidth throttling.
3. Keep an account of the amount of data sent out via and received from
the internet.
4. Apache to look at reports, and host a small web site ( not open to the
public)
5. caching name server
6. SAMBA server - shares out the 40 GB disk 7. NFS server - Like samba,
but way, way easier to handle in a controlled environment.


Speed problems: none. I could be transfering files via the lan and
maintain a 100KB download from the internet at the same time. Somehow ( I
bow to thee O Kernel Gods!) the damn thing just does it all!


If I were to use a netgear or some other router,
1. The router would be *another* device that stays up 24/7.
2. Router has no bandwidth accounting facility.
3. Caching name server/ full blown apache ( with the kitchen sink compiled
in )
4. No Traffic Control. ( www.lartc.org )
5. Not customizable, should such a need arise.
6. It dies, you call the manufacturer and haggle about warranties and
service dates etc.
7. Infrequent updated do not automatically mean there are less security
holes.
8. With linux, there is always a way to recover. What if you flash the
router the wrong way?



Advantags of a router:
1. No #@!&* infernal fan noise.
2. So simple a playskool dropout could "configure" it. ( I wish!)
3. If it dies, just get another box




hth

-jp




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 09:36 AM
LittleJohn
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

joseph philip wrote:
> Advantags of a router:
> 1. No #@!&* infernal fan noise.
> 2. So simple a playskool dropout could "configure" it. ( I wish!)
> 3. If it dies, just get another box


You left out the two most important advantages of using the Netgear
router. Context filtering on keywords and multiport output. For a small
home network, the router eliminates the need for a bridge or switch and
the context filter keeps unwanted stuff out off the local LAN. I filter
on the words "ads" and "doubleclick" which eliminates 99% of the
irritating internet garbage. I also screen out everything from Microsoft
to keep Bill out of my Windows boxes.If that were possible using linux,
I'd have no use for my Netgear router..

Or did I miss something? ... [Blocked by Netgear, perhaps?]

LittleJohn
Madison, AL

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 09:36 AM
jonnys
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

RayzrShrp wrote:
> Currently I'm operating slack9 on a pentium 133 with 48 megs of RAM
> and a 20 gig hd. My question is which is better running slack9 with 2
> nics as my firewall or just keeping the netgear router doing ip
> natting with port forwarding for my services. I realize with using
> slack with 2 nics I can control every single aspect of the firewall
> rules & do fun stuff like packet scanning into my network but are
> there any other pros? The router seems to be doing a good enough job
> and I guess I wonder which is going to be more secure in the long run.
> Now granetd I'm semi-new to linux but not really and I understand that
> my .conf files and scripts are ultimatly goign to control how secure
> the slack firewall would be. How secure is the netgear router vs a
> well configured slack firewall? Is one gonig to be faster then the
> other
>
> suggestions, ideas, insults welcome


I had a dedicated linux router setup. Granted it was a 486, but I
noticed a huge jump in my bandwidth when I switched over to a linksys
router. A customized linux box will almost always be more secure,
linksys is a plug it in and forget about it (for the most part).
However, thus far, I have not noticed any security problems with my
configuration using the linksys firewall.

If you do set up a linux firewall/router, the less you have installed,
the less you have to worry about patching and securing.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 09:37 AM
LittleJohn
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

chello wrote:
> iptables --add INPUT --source microsoft.com --jump DROP
> iptables --add INPUT --source doubleclick.net --jump DROP


Yes, but what I want is:
iptables --add INPUT --source *microsoft* --jump DROP
iptables --add INPUT --source *doubleclick* --jump DROP
iptables --add INPUT --source *ads* --jump DROP

LittleJohn
Madison, AL

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 09:37 AM
David Goodwin
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

RayzrShrp wrote:
> Currently I'm operating slack9 on a pentium 133 with 48 megs of RAM
> and a 20 gig hd. My question is which is better running slack9 with 2
> nics as my firewall or just keeping the netgear router doing ip
> natting with port forwarding for my services. I realize with using
> slack with 2 nics I can control every single aspect of the firewall
> rules & do fun stuff like packet scanning into my network but are
> there any other pros? The router seems to be doing a good enough job
> and I guess I wonder which is going to be more secure in the long run.
> Now granetd I'm semi-new to linux but not really and I understand that
> my .conf files and scripts are ultimatly goign to control how secure
> the slack firewall would be. How secure is the netgear router vs a
> well configured slack firewall? Is one gonig to be faster then the
> other
>
> suggestions, ideas, insults welcome


I'd go with the linux box... far more flexible.

Unfortunately I went with an ADSL router/modem 11 months ago, and have
regretted it since. It is a Netgear DG814, and has caused me no end of
problems.... for example :

- Time out on NAT'ed connections is too low - have to change kernel
default to keep connections open (netgear seem incapable of recognising
this problem)

- Various websites are unreachable - e.g. http://www.cs.bham.ac.uk for
no apparent reason. I can however reach it on e.g. telnet or some other
port....

Once I get some money I think the Netgear is going to get the boot, and
be replaced.


The only good thing about it is that it is far smaller, quieter and
hopefully cheaper to run (electricity) than a PC.



David.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 09:37 AM
joseph philip
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

On Tue, 24 Jun 2003 06:19:13 -0500, LittleJohn wrote:

> chello wrote:
>> iptables --add INPUT --source microsoft.com --jump DROP
>> iptables --add INPUT --source doubleclick.net --jump DROP

>
> Yes, but what I want is:
> iptables --add INPUT --source *microsoft* --jump DROP
> iptables --add INPUT --source *doubleclick* --jump DROP
> iptables --add INPUT --source *ads* --jump DROP
>
> LittleJohn
> Madison, AL




Option1:
All computers on lan use gateway as dns server. it's brain dead simple
from that.

Option2:
Squid, content filter rules. Or apache and mod rewrite.

A router is a specialized box. A computer on the other hand is
quite a general purpose system, which can do pretty much what you want.

-jp

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 09:37 AM
deshade
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall

On Mon, 23 Jun 2003 14:51:04 -0700, RayzrShrp wrote:

> Currently I'm operating slack9 on a pentium 133 with 48 megs of RAM
> and a 20 gig hd. My question is which is better running slack9 with 2
> nics as my firewall or just keeping the netgear router doing ip
> natting with port forwarding for my services. I realize with using
> slack with 2 nics I can control every single aspect of the firewall
> rules & do fun stuff like packet scanning into my network but are
> there any other pros? The router seems to be doing a good enough job
> and I guess I wonder which is going to be more secure in the long run.
> Now granetd I'm semi-new to linux but not really and I understand that
> my .conf files and scripts are ultimatly goign to control how secure
> the slack firewall would be. How secure is the netgear router vs a
> well configured slack firewall? Is one gonig to be faster then the
> other
>
> suggestions, ideas, insults welcome



greets


i am currently running what most people would consider overkill, but hey i
got the hardware might as well try to use it.

I had my router/firewall set up on a dual p2 300 hp kayak with 256 Mb
server memory.

Until I reinstalled slack 9.0 on it and I am havign all these issues, but
if your electric bill is an issue buy one of those linksys/netgear boxes
if it doesn't bother you that much set up that pc to do it all.

it took me days to recompil thinking all the problems was my nics, but
instead it was my dual cpu config that kept getting bothched, until I
found this site
http://www.madpenguin.org/article.ph...&mode=&order=0

Now tghe only problem is tryign to figure ot why all of a sudden i can't
connect to my dsl after all that time.
i know the dsl works because my my slack laptop is connected directly to
it.

....pardon the ramble.....

enjoy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 09:38 AM
chello
 
Posts: n/a
Default Re: slackware with 2 nics as firewall vs netgear router/firewall


"LittleJohn" <Littlejohn@DeleteMe.knology.net> schreef in bericht
news:vfgcuhcubg6p77@corp.supernews.com...
> chello wrote:
> > iptables --add INPUT --source microsoft.com --jump DROP
> > iptables --add INPUT --source doubleclick.net --jump DROP

>
> Yes, but what I want is:
> iptables --add INPUT --source *microsoft* --jump DROP
> iptables --add INPUT --source *doubleclick* --jump DROP
> iptables --add INPUT --source *ads* --jump DROP
>


iptables --add INPUT --source 207.46/16 --jump DROP # microsoft
iptables --add INPUT --source 216.73/16 --jump DROP # doubleclick

is that more general?



Joost


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574