A la hora de configurar un dominio hay que proveer al sistema de los siguientes servicios.
- Servidor dhcp
- Servidor DNS
- Cortafuegos
La mayoría se proveen desde fuera del servidor de dominio, pero también se puede configurar desde este
En este tema nos centraremos en el cortafuegos
Esquema de red
Configuración de la red
Las tarjetas de red se configuran durante el arranque
Eth0, eth1…
Se puede hacer mediante ifconfig pero solo servirá
hasta el siguiente reinicio
- ifconfig 192,168,1,2 netmask 255,255,255,0 up
- ifconfig eth0 down
- ifconfig eth0 up
- route add –nt 0/0 gw 192,168,1,1 eth0 (puerta de enlace)
Archivo de configuración
/etc/network/interfaces
lo auto
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
Otros ficheros
Nombre del equipo
/etc/hostname
Escribir el nombre
Escribir el nombre
Servidores DNS
DNS locales
/etc/hosts
DNS Internet
/etc/resolv.conf
nameserver 8,8,8,8
Actualizar los cambios
/etc/init.d/networking restart | stop | start | force-reload
Otros servicios de red
- Dhcp -dhcp3-server
- DNS -/etc/hosts
- SERVIDOR WEB-apache
- CORREO ELECTRÓNICO -sendmail
- FIREWALL Y NAT-Iptables
- Escritorio Remoto -vnc, teamviewer
No hay comentarios:
Publicar un comentario