Anda di halaman 1dari 12

c

c
c
c
Universidad Nacional Autónoma de México
Facultad de Ingeniería
c
c
c
c
c
Manual de usuario
c
SHIANTY -> NAT
c
c
Integrantes del Equipo
c
Cardenas Hernandez Juan
Flores Chavez Felix
Guevara Lopez Ruben
c
c
c
Versión 1.1
c
c
c
c
c
c
c
c
c
c
c
c
c
c
Administración de redes, 2010-1
c
c
c
c
c
c
c c cc
c
c cccc
c
Manual de usuario

SHIANTY -> NAT

c
Índicec
c
c
1c REQUISITOS DE SISTEMA ...........................................................................................3c
c  c!c "#cc$c
c  c!c%!#cc$c
Œc 3 TARJETAS ETHERNET COMPATIBLES CON GNU/LINUX UBUNTU 9 ............3c
2c INSTALACIÓN DEL SERVIDOR NAT .........................................................................3c
c &'c(c)(c
*(cc$c
c ' ")c
+c'c
c(c"'c!c!cc,c
c '- . /c0c1cc2c
c '- . /c0c - .cc2c
3c CONFIGURACIÓN DEL CLIENTE ...............................................................................7c
4c APÉNDICE A: SCRIPT DEL SERVIDOR ................................................................... 10c
c
c
Índice de Diagramasc
c
" cc'1 ccc3c4  cc   5cc2c
" cc'1 cccc6c
" c$c'1 cccc6c
" c,c'- . /cc   5cc7c
" c2c
 cc.1 /cc c.cc8c
" c6c
 cc.cc cc8c
c
c
Índice de Tablasc
c
cc9c'- . /c
:c5 ccc2c
c
c

c
c c c
cccc
c
c c cc
c
c cccc
c

1c Requisitos de Sistema
c
1.1c Requisitos de software
Œc  0c 5c);( 1cccc<c
Œc -=c
*(c c
Œc .  c)0c>. ?c
c
1.2c Requisitos de hardware
c

Œc $c@c4c.0 c.c);( 1ccc<c


Œc
. c7AAcB%Cc186cc c
Œc B0 cB c$8,cB*cc c
Œc ! .c c8)*cc c
Œc @c  - .c.Ccccc. /ccA,1768c

2c Instalación del servidor NAT


c
2.1c Ejecutar las reglas IPTABLES
c
c 0ccc cc5 :cc@.cc. cDcc@ccc'!c3cDc
c.cEc0 0cccF .cGHccc.0c
c
 0cc0 c3c.  0cc  c .. / c
c
c
c
c@.cc .. /cc. c0ccccc .. /ccc cc

*(c
c

c
c
c .c cccc<68AA;,cccc -.c4c.cc
c c
<68AAcc 0c5 c3c 0cc .ccc ccc
c -.c 4c .c c 
c <68A2:c <68A6:c <68A7:c <68A8:c
<68A<cc3cc
cc4ccc5 c<68AAc
c-.cc -.cDc
..c c 5 c .c c c c 4A:c c c 0 - .c c c . :c c
-.cc.cc3c0 c. - .ccc!
c3c'
c
c
c
c c c
c$ccc
c
c c cc
c
c cccc
c

c 5 - .c c Dc c  .c c  c .0c .  0c c Ec c
.0 c c9(c9:cc.cc0cc  cc
c

c
c
2.2c Configurar IP¶s estaticas para las interfaces de red
c
c. c.- cc
+:cc0 .cccc3c!+ccc cc c
ccc5 c.0ccc. cc
c
(c
+ccc..ccc cccc.ccc. c

c-.cc. c- cc  c c


c
-.c 
c B.ccc
cc.c
4Ac !-  ccc !-  ccc !-  ccc
5cc5 . c 5cc5 . c 5cc5 . c
c
c c c
c,ccc
c
c c cc
c
c cccc
c
4c <68AAc 222222Ac AAAAc
4c <68AAc 222222Ac AAAAc
cc9c'- . /c
:c5 cc
c
%3cc-0cc.- cc
+c  .cc:cccEcc
.0c3cccc.  cc)0c
c
2.2.1c Configuración modo texto
c
Œc  0cc- .4cc.- . /cc c
c5 c;.;=I; -.c
c
Œc J 0cc.- . /c  . c
c
c4Kccc>cKcc0c5cA:::$L?c
-.c4Ac c .c
c111111111111c
0Ic111111111111c
=3c111111111111c
c
cc.c43cDc.  ccEc c$c5.:ccc.c
-.ccc>0cccccc?c
c
Œc   . 0cc5 . cc c
;.;  ;=I  cccccccM - .cc -0. /ccc
c
Œc '- 00cc.0 c
-.- cc
c
2.2.2c Configuración modo grafico
c

c4  cc4  cc   5cEc.0ccc.1 ccc0c


. .ccc .cccccc c.4c.cc/c.4cc0c

c
" cc'1 ccc3c4  cc   5c
c
c
!cc.  cc)0cc  0cc 0
-. .1 cc
c
c
c c c
c2ccc
c
c c cc
c
c cccc
c
c

c
c
c
c
" cc'1 ccc
c
!ccc-0c0c cc  c5ccc0c.. cc
-.cc.- c
c

c
" c$c'1 ccc

c
c c c
c6ccc
c
c c cc
c
c cccc
c
c
c
.. 0cc -.c3c 0cc/ccG Hc
c
c  0cccJcG@cc
5,Hcc3c0cc.0c.cccc
ccc
c

c
" c,c'- . /cc   5c
c
%.0ccc.cccc -.ccc

3c Configuración del cliente


c
c. cccc 0c# =cc( 1c c  Nc0:cccc
c40ccc 0c.c# =cK
c
c
c  0cc . '- . /
cc.c'1 ccc
c
c
c c c
c7ccc
c
c c cc
c
c cccc
c
!0cc. .ccc -.cccc..c.cc5 ccc0c. .c
cc/c.4cc0c3c.. 0c c
c
c  cc5c.ccEcG ccc.1 /ccLHc
c

c
" c2c
 cc.1 /cc c.cc
c
.. 0cG
.cc>'
;
?Hc3c 0cc/c c

c
" c6c
 cc.cc cc
c
c c c
c8ccc
c
c c cc
c
c cccc
c
Œc  c c D c .c c c c c c 0c .D c  .. /c 
c c
 0c<68AK;,:ccKcc0cc5ccc4c2,c%3c
Dc .c Dc c  .. /c Ac c c c c .:cc c c  .. /c 
c c c
-.c4cc
c
Œc  ccD c.ccccc.cccc..cc cc
c  c .. c
c
c
O5ccccc.c
<68AAcccc >-.c4cc5 c?c
c
c O2cD c.c cc c
<68AKcccc c >KcPc2:6:7:8:<?c
c
Œc (c 0 .c c c c 0c c c 222222Ac 3c c !c c
. ccc0  ccc
c
 cc 0.  cDcc. - Dcc!:ccc. cc c..cc
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c

c
c c c
c<ccc
c
c c cc
c
c cccc
c

4c Apéndice A: Script del servidor


.4 5 c3.4c
c
OQ; ;4c
Oc0  . cc:c c2c
Oc
3.cc%Rcccc
Oc'3 4c>'?cAA<cc
Oc'c%Cc&c>0  c@0 5S34.0?c
Oc"c'45Cc" 1c>0  c- 1S40 .0?c
Oc)5c(Ccc>0  c=IS 0 .0?c
c
Oc!   5cccc cc
 PT4ATcc
Oc!   5ccc.cc
PT4Tcc
PT4Tcc
c
Oc
c.cDccc  c>cc. ?cc
'
PT8ATcc
Oc
ccDccc  c>cc. ?cc
!
PT2$Tcc
c
O5 ccc
- PAcc
c
O(*c
Uc-c;.;-;.cVcWWcc;.;-;.cc
c; ;;  -. cc
c
   0 cT .c cc" =Tcc
O.4cc .c cc" =c
c
OOc"(%cc c
c c-4ccc c XXc- Pcc
c ccc-4cc XXc- Pcc
c c.4 c c XXc- Pcc
c
O  .c0 c
c c
c
c''
cc c XXc- Pcc
c c
c 
c''
cXc Xc- Pcc
c c
c" #!c''
c XXc- Pcc
c
c ccc
c
 )c''
c XXc- Pcc
c ccc
c
 )c''
c XXc- Pcc
c
OOc0C0cc- c
OOc c=ccc -Cc..ccc3c4Accc(c
Occ.4cc@c>c@0c.1 c.cc03D?c
; ; cc
c cc@c''
c c c XXc- Pcc
c
c
c c c
cAccc
c
c c cc
c
c cccc
c
Occ- =c0c..cccc.cc c
cc
cc<68AA;,c cYc@c''
c XXc- Pcc
c
Occ- =c0c..cccc.c! c
cc
cc<68AAc cYc@c''
c XXc- Pcc
c
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc
Oc!. . / c c c c c c c c c c c cccc
Oc
cc 0c 0ccc<68AA;,:ccccc .cc cccccccccc
Occ c3cc0.cc- c c c c c c c
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc
c
   0 cT .c ccc c<68AA;,Tcc
c
OOc4c.c c" #!c- 0cc..cccc.c
OOcc1 c'0cc1 .c:cccDcDcc5c  ccc
OOc c- =ccc .c cc" #!c
c
Oc.0cDc53ccc8Ac
cc" #!cc<68AA;,c cYcc.cc8Ac@c''
c XXc- Pc
Oc.0cDc53ccc4c
cc" #!cc<68AA;,c cYcc.cc,,$c@c''
c XXc- Pc
c
Oc.0cDc.cc!c
cc" #!cc<68AA;,c cYcc.cc2$c@c''
c XXc- Pc
cc" #!cc<68AA;,c cYcccc2$c@c''
c XXc- Pc
c
Oc4c4.0c0.0 cccc.c
Oc3c. 50cc*c!c" #!)c> 0.  QQQQQ?c
cccc
 )cc<68AA;,ccY c@cB!c XXc- Pc
c
  0 cY- c
c
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc
Oc!. .  c c c c c c c c c c c cccc
Oc
cc 0c 0ccc<68A1:cc1c0cc5cAccc5 cccccccccc
Oc3c2c6c7c8c<cccc. cccc .cc cc c3ccccccccccccc
Occ0.cc- c c c c c c c c c c ccc
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc
c
   0 cT .c cc2cD cTcc
c
OOc4c.c c" #!c- 0cc..cccc.c
OOcc1 c'0cc1 .c:cccDcDcc5c  ccc
OOc c- =ccc .c cc" #!c
c
Oc.0cDc53ccc8Ac
cc" #!cc<68A2c cYcc.cc8Ac@c''
c c XXc- Pcc
cc" #!cc<68A6c cYcc.cc8Ac@c''
c c XXc- Pcc
cc" #!cc<68A7c cYcc.cc8Ac@c''
c c XXc- Pcc
cc" #!cc<68A8c cYcc.cc8Ac@c''
c c XXc- Pcc
cc" #!cc<68A<c cYcc.cc8Ac@c''
c c XXc- Pcc
c
c c c
cccc
c
c c cc
c
c cccc
c
Oc.0cDc53ccc4c
cc" #!cc<68A2c cYcc.cc,,$c@c''
c XXc- Pcc
cc" #!cc<68A6c cYcc.cc,,$c@c''
c XXc- Pcc
cc" #!cc<68A7c cYcc.cc,,$c@c''
c XXc- Pcc
cc" #!cc<68A8c cYcc.cc,,$c@c''
c XXc- Pcc
cc" #!cc<68A<c cYcc.cc,,$c@c''
c XXc- Pcc
c
Oc.0cDc.cc!c
cc" #!cc<68A2c cYcc.cc2$c@c''
c c XXc- Pcc
cc" #!cc<68A2c cYcccc2$c@c''
cc XXc- Pcc
c
cc" #!cc<68A6c cYcc.cc2$c@c''
c c XXc- Pcc
cc" #!cc<68A6c cYcccc2$c@c''
cc XXc- Pcc
c
cc" #!cc<68A7c cYcc.cc2$c@c''
c c XXc- Pcc
cc" #!cc<68A7c cYcccc2$c@c''
cc XXc- Pcc
c
cc" #!cc<68A8c cYcc.cc2$c@c''
c c XXc- Pcc
cc" #!cc<68A8c cYcccc2$c@c''
cc XXc- Pcc
c
cc" #!cc<68A<c cYcc.cc2$c@c''
c c XXc- Pcc
cc" #!cc<68A<c cYcccc2$c@c''
cc XXc- Pcc
c
Oc4c4.0c0.0 cccc.c
Oc3c. 50cc*c!c" #!)c> 0.  QQQQQ?c
cccc
 )cc<68A2ccY c@cB!c XXc- Pcc
cccc
 )cc<68A6ccY c@cB!c XXc- Pcc
cccc
 )cc<68A7ccY c@cB!c XXc- Pcc
cccc
 )cc<68A8ccY c@cB!c XXc- Pcc
cccc
 )cc<68A<ccY c@cB!c XXc- Pcc
c
  0 cY- c
c
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc
c
Oc'cc0  0c4.c-=ccDccc- =:ccc
OcDcc0 D cc cc5cc- =c
c
.4ccc;.;3;; 5,;  -=c XXc- Pcc
c
   0 cT'0Tcc
Occ0cccc
  0 cY- cc
c
-cUcY- cDcAcVcc
4cc
 .. 0 cTM - Dcc.0 c. c c(cTcc
cc
 =  0 cTc4c. cccc .c ccc Tcc
- cc

c
c c c
cccc
c