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
|
# firewall-easy.conf EJEMPLO DE CONFIGURACION / SAMPLE OF CONFIG
#
# Rellenar y renombrar a firewall-easy.conf, utilizar formato bash
# Fill and rename to firewall-easy.conf, use bash format
#
#----------------------------------------------------------------------------
IFACE_REDLOCAL=
#IFACE_REDLOCAL=eth0 # Interfaces sin cortafuegos (mejor ninguno)
# Interfaces without firewall (better none)
IFACE_ADSL=
#IFACE_ADSL=eth1 # Para obtener configuracin ADSL por DHCP
# To get ADSL config by DHCP
FTP=""
# Mis servidores FTP activos (FTP suele ser pasivo)
# My active FTP servers (FTP is usually passive)
NTP="" # Servidores de hora NTP / Time servers (NTP)
NO_IP="" # IPs remotas a impedir acceso a nuestro sistema
# Remote IPs to deny access to our system
IFACE_MASQ="ppp0 $IFACE_ADSL"
# Interfaces por los que hay que enmascarar
# Interfaces by which we have to masquerade
#### AUTODETECCION #############################################################
DNS="`list-dns-ip`" # Mis servidores DNS / My DNS servers
RED_LO1="`list-iface-net lo`" # Red/mascara interface loopback
RED_LOCAL="`list-iface-net $IFACE_REDLOCAL`" # Red/mascara local (intranet)
IP_REDLOCAL="`list-iface-ip $IFACE_REDLOCAL`" # La IP en iface local de este servidor
IP_ADSL1="`list-iface-ip $IFACE_ADSL`" # Nuestra IP en iface ADSL
GW_ADSL1="`list-iface-gw $IFACE_ADSL`" # IP de GW del router ADSL
echo ""
echo "----AUTODETECCION--------"
echo " loopback = $RED_LO1"
echo " red local $IFACE_REDLOCAL = $RED_LOCAL IP local = $IP_REDLOCAL"
echo " servidores DNS = $DNS"
echo " ADSL iface $IFACE_ADSL = $IP_ADSL1 gw = $GW_ADSL1"
echo ""
|