Security, speed and instant availability are important for the internet access at Home. Although there exist commercial solutions this presentation proves that implementing a home router with Red Hat Linux using standard components and a Pentium II might make sense. It gives the user an unlimited freedom and flexibility.
The first building block is the iptables firewall. Iptables are standard in modern Linux kernels and allow filtering and logging incoming and outgoing traffic.
The HTTP Squid proxy server allows to filter web traffic and locally caching a huge amount of frequently accessed files. Main advantages of a proxy server is to limit internet bandwidth usage, and to speed up web access. Parental control and offensive or dangerous URL blocking becomes very easy. Centrally blocking of advertisements or dangerous downloads is very cost effective and transparent for the browser and the enduser.
The DNS caching server is used by the proxy server and the client PCs on the intranet to translate names to ip addresses. You might also administer your own local machines and configure a DHCP server. Another option could be a Samba disk server. An NTP server can be added for time synchronisation.
We will also show how the system can be monitored and where to investigate (rare) problems. My router is running already for more than 11 months. Its biggest advantage are stability, security, fast and instant internet access, modularity, configurability. Configure security only once on a central server and all your PC's at home are immediately protected.
15. "# $ %&&'( ) "'
$
modem & minihub
crosses !!
Use only normal straight LAN cables
[no need for cross cables]
software is mostly
distributed via DVD
CDROM, DVD reader
100 Mbit/s if
possible
2 ethernet cards, minihub, fast ethernet modem,
wireless router /hub
4 GB mimimum1 or more IDE disks (reuse 2 old disks: 1 GB system
SW + swap & 3 GB for cache + /home disk)
more is better100 MB memory
350 MHzIntel Pentium II CPU, or higher
SpecificsNecessary Components
23. "# $ %&&'( ) %:
+
< + MM !
H) D D D
K
$ % %%FCCF'& , F 1 # A= G $*.G
@.G$#&)##&)'&"*$ G"$%&)#"&2)&)'$ 3 GC7
A G& && @3.G& && G"%C G%-"C#
@A AG . G:""C 31(### < A<G:%&&&
@3 G& && J =@ G&
B&&& D D
"" B&&&D ? O ?<
*
,
29. "# $ %&&'( ) %-
.
2 9+ G 4
+ H @ ,, & '& =
+ H @ ,, & '& = H0 @A
+ H @ ,, & '& = H0 A K
+ H @ ,, & '& = H H B:CBFB:': H0 @A
+ H @ ,, & '& = H H B:CBFB:': H0 @A
+ H @ ,, & '& = H H ': H0 @A
+ H @ ,, & '& = H "-'1":1"&17: H0@3P3. K
+ H @ ,, & '& = H H "": H0@3P3. K
30. "# $ %&&'( ) :&
H ))
Q< 9 R
* )) ) *
+ = " 0*..3
53. "# $ %&&'( ) ':
. )
D D 1 )
K
Z
VD D DV
6 Z [
': Z"-%1"B71&1""&1&1&1"[
) Z
"-'1%:71%1%"
"-'1%:71%1%%
"-:1"%"1"#"1":'
[
+ , Z"-%1"B71&1:"[
T
[
54. "# $ %&&'( ) 'C
J T
D D 1 )
T V&1&1"%#1 1 V Z
) V&1&1"%#1 1 1T V
[
T V&1"B71"-%1 1 V Z
) V&1"B71"-%1 1 1T V
[
T V V Z
) V 1T V
[
T V 1 V Z
) V 1 1T V
[
55. "# $ %&&'( ) ''
J
, M
)
D D 1 )
T V+V Z
) V+1T V
[
56. "# $ %&&'( ) 'B
K + T
D D D+1T
W 7BC&&
] A* ] 1 2
C
%77&& )
#%&&
B&C7&&
7BC&&
4
] "-%1"B71&1"
; 6 : . "+)&"($&#&"
* "-%1"B71&1"
57. "# $ %&&'( ) '#
+
@
1 )
D + D 1 D
)
) "
) %
) :
D + D 1 D
58. "# $ %&&'( ) '7
+
K
+ ) T F7
6 8 9"
) F&
) ) F&
6 F&
6 A
K
) D D D 1
O )
D D D D D 1
D D D 1
K
III III 2""&-"&:-%B4
"#7%C:
) &
:%B'
#C:C&
"--%#&
) C:C&-
59. "# $ %&&'( ) '-
) ) ) K
D + D 1 D
F ) F )
D + D 1 D
F 5 AL 8
) S
%:C-# %::#7 & "#F"B D: &&F&&F&&
D D D
A - "#F"BF&" 5%:C-"8F ( -1%1" %
A - "#F"BF&" 5%:C-"8F " . =
A - "#F"BF&" 5%:C-:8F ) ) ^D D 1 )^
A - "#F"BF&" 5%:C-:8FD D 1 F":F ^^ + ) ^[^
A - "#F"BF&" 5%:C-:8F ) F)
A - "#F"BF&" 5%:C-:8F 2 ) 4
A - "#F"BF&" F
D D 1
111
5 8
Z"-%1"B71&1&D%C"&1&1&1&D7[
5 8
Z"-%1"B71&1&D%C"&1&1&1&D7[
65. "# $ %&&'( ) B'
. )
> 9
D D 6 D 6 1 )
K
X 7&
X &
X %& $(
X +0 X T 7"-% L(
X +0 X TX X %&C7 L(
)6 X T "&%C
X X
X X
X , D D D 6 %'&& "B "%7
X X
X "-%1"B71&1"
+ X 6
X 1 1
X 1 1
) X) ))
TX >
X6 X ))
66. "# $ %&&'( ) BB
) )
X X ))
D D D 6 D 1
"""#"#+%')&'"# :## "+)&"($&#&"#
3 E0 A0 E, D%&& "&&7: 3
FDD 1 1 D D 1
0/ 0/ E .0 3@$#&)##&)*$&)#( D
X X
D D D 6 D 1
"+)&"($&#&"# 5")@, @)##29#"9"#9'# F#"##8 V 3
FDD ,16 1 D)6D D6 1 M + GI 3?F
.A$ ?I** I ?@I* (3I$ D"1&V %&& "-B%
3 E, 9 0 3
67. "# $ %&&'( ) B#
* )
) X 7& O
) X %" O )
) X CC: 'B: O 9
) X %&%& O ( A @
) X %&&% O
) X 7&CC O
) X 7&7& O +
) X 7&7" O
O 6 ,
X ! ) X
68. "# $ %&&'( ) B7
*
.A 3.
X CC: 'B:
X "7B: O $ ) $
X B:CB B:': O
X .A 3. X
X .A 3.
69. "# $ %&&'( ) B-
+
1 + 1+
X
X VD D 6 D 1 V
X
X :& &6 :"%7 :":& 6 )
X X 1 1+ 1 1+
O 7:
X 7&1%&&1%C71"-- 7&7& # 6 +
X 7&1%&&1%C71%&& 7&7& # 6 +
X 7&1%&&1%C71%&" 7&7& # 6 +
X 7&1%&&1%C71%&% 7&7& # 6 +
X 7&1%&&1%C71%&: 7&7& # 6 +
X 7&1%&&1%C71%&C 7&7& # 6 +
X 7&1%&&1%C71%&' 7&7& # 6 +
X 7&1%&&1%C71%&B 7&7& # 6 +
X 7&1%&&1%C71%&# 7&7& # 6 +
70. "# $ %&&'( ) #&
.
X 1 1+ :"%7 :":&
6 )
E G& G&6 H
X X 1 1+
*. =@ !!
71. "# $ %&&'( ) #"
/ ))
) 9
!!
X
1 1
X
"-%1"B71&1&D%C
X
72. "# $ %&&'( ) #%
6 G I )
A <J <J ) K
K
J ) F
; D
; D
; =@
; ,
;
; F 9
; F 3 9 A 9 3* 9.A 3.
; /
; +
;
74. "# $ %&&'( ) #C
.
K +
+ , VD D 6 D6 7 1 V
X ) E + ,
X + ,
+ , X VD D 6 D 6 7 1 V
X ; + , ) X
+ , X VD D 6 D6 7 1 V
X ) E + ,
X + ,
+ , X VD D 6 D6 7 1 V
X ) E + ,
X + ,
+ , X VD D 6 D6 7 1 V
X ) E + ,
X + ,
*
75. "# $ %&&'( ) #'
(
) )
; 3 )) + )
; 3F Q FKR +
; $ T ) 0 D) D H
+ !
; 8 @ @ @ @ E
K
_ GVP V GV D0 VN
_!
1 GV V I 1 DD1
DD N
_D N
_ N_ N_! + +
82. "# $ %&&'( ) 7%
. , 6 ) /3
*) 9
D + D 1 D 6
+ / +
) D D D 6 D 1
) D D D 6 D 1
83. "# $ %&&'( ) 7:
A ) )
K
+ 6 ) + , + A@<*@
) + , ))
( "-%1"B71&1"F7&
D D D
K
A : ""F&CFC" , F G " A= G &
@.G"-%1"B71&1"& G"-'1%:71"1"B- 3 GC7 A G& &&
@3.G& && G"%# GC-:" @A AG . G"%C%
G7& < A<G"B:7C @3 G& && J =@ G&
A : ""F&"F': , F 1 "/ 31 #
@.G"+)&"($&#&"# 31"+2&)'$&'&)"+ 3 GC7 A G& &&
@3.G& && G"%# G:%7- @A AG . G""77
31$# < A<G"B:7C @3 G& && J =@ G&
84. "# $ %&&'( ) 7C
V V )
) + , D
; A $ ) MM
; ) D D D
; 111
; A C %"F"%F'& , F G " A= G &
0 1"+)&"($&#&"# 31)#%&*(&"'*&+) 3 GC7
A G& && @3.G& && G"%# G%B&' @A AG .
G"""& G7& < A<G"B:7C @3 G& && J
=@ G&
; ( , + )
; < K
; + ,
85. "# $ %&&'( ) 7'
=
K
; @ @
; D D +D 6 D D
; " %- %B %"F:- N
D D +D 6 D D3
; " %B&-# * %# %&&% +1
; " B-"% * %# %&&% 1 )
; " B-"% * %# %&&% 1 )1 )
; " -"BCB %# "BF": 6 1 )
; " -""&# * %# %&&% 6 1 )1 )
; I @ @ 6@ @ @
; I @ @ 6@ @ @A
; @ 6 @ & @
104. "# $ %&&'( ) "&C
*
K ,
@ * ) + ) *
@ ) +
: K
+H
K
& ' YYYb D+ D X %ND D
D + D 1 D
D D ) D , D ) ) ) &
D D ) D , D ) ) ) &
D + D 1 D
105. "# $ %&&'( ) "&'
$ = T ) )
J 9 A !
FaN " ) "C:7 1 , 1+
1 , 1+ 57&1%&&1%C71"--8 "C:7 + ) F
@ ) 7&1%&&1%C71"--F+ G"C:7 GC% G"%C
) 7&1%&&1%C71"--F
, F G "9@ G "9 G & 2&c 49
* F
$ G C% 9$ G C% 9* G C%
"C:7 I %7 G "*((+ $ =
.$ Q ) R ,
) ) & "CBB
) ) " "CBB
D D ) D ,
) ) & ) ) "
K
$ =G"CBB
110. "# $ %&&'( ) ""&
*++
; *@ H * @
; . H . )
; $EH $ T E 2 ,T +
) + ) 4
; H
; H
; * H ,*
; H ,
; A H A))
; $ H $
; $ H ,$
; . H .
; = H =
; <3 H < 36