WinFuture-Forum.de: Fli4l-router V3 Einrichten - WinFuture-Forum.de

Zum Inhalt wechseln

Nachrichten zum Thema: Netzwerk
Seite 1 von 1

Fli4l-router V3 Einrichten unteranderem als Hub-Ersatz


#1 Mitglied ist offline   dante 

  • Gruppe: aktive Mitglieder
  • Beiträge: 238
  • Beigetreten: 24. Februar 05
  • Reputation: 0

geschrieben 05. April 2006 - 09:51

Hallo!

Ich möchte meinen fli4l-Router von V2 auf V3 umstellen. Kurz mein Szenarion:

Ich habe einen fli4l-Rechner mit 4 NICs. Eine davon geht zum T-DSL-Modem, die anderen drei zu 3 verscheidenen Rechnern. Er fungiert demnach ohne Hub oder Switch. Jetzt möchte ich, dass ich mit allen 3 Rechnern gleichzeitig ins I-Net kann. Mit meiner V2-Konfiguration ging das. Hier sind die Einstellungen, die ich in der base.txt angepasst hab:
##-----------------------------------------------------------------------------
## base.txt - fli4l configuration parameters                                       2.0.8
##
## You can edit/change this file with fliwiz V1.6 or any text editor.
##
##              P L E A S E   R E A D   T H E   D O C U M E N T A T I O N ,##                                     S E E   R E A D M E . T X T
##
##              B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##                        L E S E N ,  S I E H E   R E A D M E . T X T
##
## Creation:     26.06.2001  fm
## Last Update:  $Id: base.txt,v 1.20.2.8 2002/12/02 15:21:02 rresch Exp $
##
## Copyright (c) 2001-2002 Frank Meyer <frank@fli4l.de>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# General settings:
#------------------------------------------------------------------------------
HOSTNAME
='fli4l'                                # name of fli4l router
PASSWORD
='fli4l'                                # password for telnetd, ftpd and sshd
MOUNT_BOOT
='no'                          # mount boot device (floppy): ro, rw, no

RAMSIZE
='4096'                            # size of ramdisk for unzipped opt.tgz
# the variables MOUNT_OPT, PART_OPT and UPDATE_MODE will be ignored if
# RAMSIZE is not empty. see docu
MOUNT_OPT
='ro'                            # mount opt device: ro, rw
PART_OPT
='ram1'                          # location of opt-files? ram1 or disk-partition
UPDATE_MODE
='full'                        # add, cfg, full, none, see documentation

#------------------------------------------------------------------------------
# Ethernet card drivers:
# uncomment your ethernet card
#------------------------------------------------------------------------------
ETH_DRV_N
='2'                              # number of ethernet drivers to load, usually 1
ETH_DRV_1
='sis900'                       # PCI: SiS 900/7016
ETH_DRV_1_OPTION
=''                      # additional option, e.g. 'io=0x340' for ne
ETH_DRV_2
='8139too'                     # PCI: RealTek 8139 10/100 MB (NEW)
ETH_DRV_2_OPTION
=''                      # additional option, e.g. 'io=0x340' for ne

#------------------------------------------------------------------------------
# Ether networks used with IP protocol:
#------------------------------------------------------------------------------
IP_ETH_N
='3'                                            # number of ip ethernet networks, usually 1
IP_ETH_1_NAME
=''                                        # optional: other device name than ethX
IP_ETH_1_IPADDR
='192.168.1.1'      # IP address of your n'th ethernet card
IP_ETH_1_NETWORK
='192.168.1.0'    # network of your LAN
IP_ETH_1_NETMASK
='255.255.255.0'        # netmask of your LAN
IP_ETH_2_NAME
=''                                        # optional: other device name than ethX
IP_ETH_2_IPADDR
='192.168.2.1'      # IP address of your n'th ethernet card
IP_ETH_2_NETWORK
='192.168.2.0'    # network of your LAN
IP_ETH_2_NETMASK
='255.255.255.0'        # netmask of your LAN
IP_ETH_3_NAME
=''                                        # optional: other device name than ethX
IP_ETH_3_IPADDR
='192.168.3.1'      # IP address of your n'th ethernet card
IP_ETH_3_NETWORK
='192.168.3.0'    # network of your LAN
IP_ETH_3_NETMASK
='255.255.255.0'        # netmask of your LAN

#------------------------------------------------------------------------------
# Additional routes, optional
#------------------------------------------------------------------------------
IP_DEFAULT_GATEWAY
=''                      # normally not used, read documentation!
IP_ROUTE_N
='0'                                    # number of additional routes
IP_ROUTE_1
='192.168.7.0 255.255.255.0 192.168.6.99' # network netmask gateway

#------------------------------------------------------------------------------
# Masquerading:
#------------------------------------------------------------------------------
MASQ_NETWORK
='192.168.0.0/16'      # networks to masquerade (e.g. our LAN)
MASQ_MODULE_N
='1'                                  # load n masq modules (default: only ftp)
MASQ_MODULE_1
='ftp'                              # ftp
MASQ_MODULE_2
='h323'                            # h323 (netmeeting)
MASQ_MODULE_3
='icq'                              # icq (use with caution!)
MASQ_MODULE_4
='irc'                              # irc
MASQ_MODULE_5
='raudio'                    # raudio
MASQ_MODULE_6
='vdolive'                  # vdolive
MASQ_MODULE_7
='quake'                      # quake
MASQ_MODULE_8
='cuseeme'                  # cuseeme
MASQ_MODULE_9
='mms'                              # MSN-Filetransfer
MASQ_MODULE_10
='pptp'                      # pptp
MASQ_MODULE_11
='ipsec'                    # ipsec
MASQ_MODULE_12
='dplay'                    # dplay (direct play)
MASQ_MODULE_13
='msn-0.02'                  # msn zone (use version 0.01 or 0.02)
MASQ_MODULE_14
='udp_dloose'              # pseudo mod: some internet games need it

MASQ_FTP_PORT_N
='0'                              # using ftp masq-module on different ports
MASQ_FTP_PORT_1
='21'                            # standard ftp port
MASQ_FTP_PORT_2
='2021'                    # additional port

#------------------------------------------------------------------------------
# Optional package: PORTFW
#
# If you set OPT_PORTFW='yes', you can also edit opt/etc/portfw.sh
#------------------------------------------------------------------------------
OPT_PORTFW
='no'                                  # install port forwarding tools/modules
PORTFW_N
='0'                                            # how many portforwardings to set up
PORTFW_1
='8080 192.168.6.15:80 tcp' # sample 1: forward ext. port 8080 to int.
                                                                       
# host 192.168.6.15 to port 80 (use tcp)
PORTFW_2
='3000-3010 192.168.6.15 tcp' # sample 2: forward portrange to int. host
                                                                       
# 192.168.5.15 (use tcp)


#------------------------------------------------------------------------------
# Routing without masquerading
#------------------------------------------------------------------------------
ROUTE_NETWORK
=''                                        # optional: route from/to network, no masq

#------------------------------------------------------------------------------
# Routing: internal hosts to deny forwarding
#------------------------------------------------------------------------------
FORWARD_DENY_HOST_N
='0'                  # number of denied hosts
FORWARD_DENY_HOST_1
='192.168.6.5'   # optional: 1st denied host
FORWARD_DENY_HOST_2
='192.168.6.6'   # optional: 2nd denied host

#------------------------------------------------------------------------------
# Routing: ports to reject/deny forwarding (from inside and outside!)
#------------------------------------------------------------------------------
FORWARD_DENY_PORT_N
='1'                          # no. of ports to reject/deny forwarding
FORWARD_DENY_PORT_1
='137:139    REJECT' # deny/reject forwarding of netbios
FORWARD_TRUSTED_NETS
=''                          # but allow forwarding between LANs

#------------------------------------------------------------------------------
# Firewall: ports to reject/deny from outside (all served ports)
#
# here we leave two ports untouched:
#
#  53 dns
# 113 auth
#------------------------------------------------------------------------------
FIREWALL_DENY_PORT_N
='6'                                # no. of ports to reject/deny
FIREWALL_DENY_PORT_1
='0:52        REJECT' # privileged ports: reject or deny
FIREWALL_DENY_PORT_2
='54:112    REJECT' # privileged ports: reject or deny
FIREWALL_DENY_PORT_3
='114:1023  REJECT' # privileged ports: reject or deny
FIREWALL_DENY_PORT_4
='5000:5001 REJECT' # imond/telmond ports: reject or deny
FIREWALL_DENY_PORT_5
='8000        REJECT' # proxy access: reject or deny
FIREWALL_DENY_PORT_6
='20012      REJECT' # vbox server access: reject or deny

FIREWALL_DENY_ICMP
='no'                          # deny icmp (ping): yes or no
FIREWALL_LOG
='yes'                                        # log access to rejected/denied ports

#------------------------------------------------------------------------------
# Domain configuration:
#------------------------------------------------------------------------------
START_DNS
='yes'                                  # start dns server: yes or no
DNS_FORWARDERS
='192.76.144.66'    # DNS servers of your provider, e.g. MSN
DNS_VERBOSE
='no'                                        # log queries in /usr/local/ens/ens.log
DOMAIN_NAME
='lan.fli4l'                  # your domain name
DNS_FORBIDDEN_N
='0'                              # number of forbidden domains
DNS_FORBIDDEN_1
='foo.bar'                  # 1st forbidden domain
DNS_FORBIDDEN_2
='bar.foo'                  # 2nd forbidden domain
HOSTS_N
='4'                                              # number of hosts in your domain
HOST_1
='192.168.1.1 fli4l'                # 1st host: ip and name
HOST_2
='192.168.1.2 client1'            # 2nd host: ip and name
HOST_3
='192.168.2.2 client2'            # 3rd host: ip and name
HOST_4
='192.168.3.2 client3'            # 3rd host: ip and name


#------------------------------------------------------------------------------
# Special DNS configuration
#------------------------------------------------------------------------------
DNS_N
='0'                                                  # number of special dns servers, normally 0
#DNS_1='firma.de 192.168.1.12'    # 1st special dns server for firma.de
#DNS_2='lan.firma.de 192.168.2.12'  # 2nd special dns server for lan.firma.de

#------------------------------------------------------------------------------
# imond configuration:
#------------------------------------------------------------------------------
START_IMOND
='yes'                                       # start imond: yes or no
IMOND_PORT
='5000'                                  # TCP-Port, see also FIREWALL_DENY_PORT_x!
IMOND_PASS
=''                                      # imond-password, may be empty
IMOND_ADMIN_PASS
=''                              # imond-admin-password, may be empty
IMOND_LED
=''                                            # tty for led: com1 - com4 or empty
IMOND_BEEP
='no'                                  # beep if connection going up/down
IMOND_LOG
='no'                                    # log /var/log/imond.log: yes or no
IMOND_LOGDIR
='/var/log'                  # log-directory, e.g. /var/log
IMOND_ENABLE
='yes'                                # accept "enable/disable" commands
IMOND_DIAL
='yes'                                        # accept "dial/hangup" commands
IMOND_ROUTE
='yes'                                  # accept "route" command
IMOND_REBOOT
='yes'                                # accept "reboot" command

#------------------------------------------------------------------------------
# Generic circuit configuration:
#------------------------------------------------------------------------------
IP_DYN_ADDR
='yes'                                  # use dyn. ip addresses (most providers do)
DIALMODE
='manual'                                        # standard dialmode: auto, manual, or off



Nun möchte ich einfach diese Konf auf V3 übertragen. Sieht dann etwa so aus:

##-----------------------------------------------------------------------------
## base.txt - fli4l configuration parameters                                       3.0.1
##
## You can edit/change this file with any text editor.
##
##              P L E A S E   R E A D   T H E   D O C U M E N T A T I O N ,
##                                        S E E   R E A D M E . T X T
##
##              B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##                        L E S E N ,  S I E H E   R E A D M E . T X T
##
## Creation:     26.06.2001  fm
## Last Update:  $Id: base.txt 11071 2006-02-23 13:46:01Z hh $
##
## Copyright © 2001-2005 Frank Meyer <frank@fli4l.de>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# General settings:
#------------------------------------------------------------------------------
HOSTNAME
='fli4l'                           # name of fli4l router
PASSWORD
='fli4l'                           # password for root login (console, sshd, imond)
BOOT_TYPE
='fd'                           # boot device: fd, fdx2, dualfd, hd, cd, ls120,
                                                           
# integrated, attached, netboot, pxeboot
                                                           
# (cd, cdemul, hd and ls120 need an
                                                           
# installed opt hd)
MOUNT_BOOT
='rw'                         # mount boot device (floppy): ro, rw, no
TIME_INFO
='MEZ-1MESZ,M3.5.0,M10.5.0'
                                                           
# description of local time zone,
                                                           
# don't touch without reading documentation
KERNEL_VERSION
='2.4.32'         # kernel version
KERNEL_BOOT_OPTION
=''             # append option to kernel command line
COMP_TYPE_KERNEL
='gzip'         # compression-type for kernel: gzip, bzip2
COMP_TYPE_ROOTFS
='gzip'         # compression-type for rootfs: gzip, bzip2
IP_CONNTRACK_MAX
=''                     # override maximum limit of connection
                                                           
# tracking entries
POWEROFF_ON_HALT
='no'             # power off after shutting down the machine
REAL_MODE_POWEROFF
='no'         # switch to real mode before invoking
                                                           
# apm power off

#------------------------------------------------------------------------------
# Localisation
#------------------------------------------------------------------------------
LOCALE
='de'                                     # defines the default language for several
                                                           
# components, such as menu and httpd

#------------------------------------------------------------------------------
# Mount extra floppy drive to /floppy:
#------------------------------------------------------------------------------
OPT_MOUNTFLOPPY
='no'               # mount extra floppy drive: first, second, no

#------------------------------------------------------------------------------
# Console settings (serial console, blank time):
#------------------------------------------------------------------------------
CONSOLE_BLANK_TIME
=''             # time in minutes (1-60) to blank
                                                           
# console; '0' = never, '' = system default
SER_CONSOLE
='no'                           # use serial interface instead of or as
                                                           
# additional output device and main input device
        SER_CONSOLE_IF
='0'               # serial interface to use, 0 for ttyS0 (COM1)
        SER_CONSOLE_RATE
='9600' # baudrate for serial console
        SER_BEEP
='no'                     # enable beep after boot and shutdown

#------------------------------------------------------------------------------
# Debug Settings:
#------------------------------------------------------------------------------
DEBUG_STARTUP
='no'                       # write an execution trace of the boot
DEBUG_LOG
=''                               # sequence to file DEBUG_LOG or console if
                                                           
# DEBUG_LOG is empty

#------------------------------------------------------------------------------
# Show service menu after login:
#------------------------------------------------------------------------------
OPT_MENU
='yes'                           # service menu for users
        MENU_LANGUAGE
=''                   # language for the service menu; defaults to
                                                           
# 'LOCALE' if left empty
#------------------------------------------------------------------------------
# Keyboard layout
#------------------------------------------------------------------------------
KEYBOARD_LOCALE
='auto'           # auto: use most common keyboard layout for
                                                           
# the language specified in 'LOCALE'
OPT_MAKEKBL
='no'                           # set to 'yes' to make a new local keyboard
                                                           
# layout map on the fli4l-router

#------------------------------------------------------------------------------

#------------------------------------------------------------------------------
NET_DRV_N
='2'                             # number of ethernet drivers to load, usually 1
NET_DRV_1
='sis900'                 # 1st driver: name (e.g. NE2000 PCI clone)
NET_DRV_1_OPTION
=''                     # 1st driver: additional option
NET_DRV_2
='8139too'                              # 2nd driver: name (e.g. NE2000 ISA clone)
NET_DRV_2_OPTION
=''     # 2nd driver: additional option

#------------------------------------------------------------------------------
# Ether networks used with IP protocol:
#------------------------------------------------------------------------------
IP_NET_N
='3'                               # number of IP ethernet networks, usually 1
IP_NET_1
='192.168.1.1/24'         # IP address of your n'th ethernet card and
                                                           
# netmask in CIDR (no. of set bits)
IP_NET_1_DEV
='eth0'                     # required: device name like ethX
IP_NET_2
='192.168.2.1/24'         # IP address of your n'th ethernet card and
                                                           
# netmask in CIDR (no. of set bits)
IP_NET_2_DEV
='eth1'                     # required: device name like ethX
IP_NET_3
='192.168.3.1/24'         # IP address of your n'th ethernet card and
                                                           
# netmask in CIDR (no. of set bits)
IP_NET_3_DEV
='eth2'                     # required: device name like ethX

#------------------------------------------------------------------------------
# Additional routes, optional
#------------------------------------------------------------------------------
IP_ROUTE_N
='4'                                                  # number of additional routes
IP_ROUTE_1
='192.168.1.0/24 192.168.1.1'  # network/netmaskbits gateway
IP_ROUTE_2
='192.168.2.0/24 192.168.2.1'    # network/netmaskbits gateway
IP_ROUTE_3
='192.168.3.0/24 192.168.3.1'    # network/netmaskbits gateway
IP_ROUTE_4
='0.0.0.0/0 192.168.99.1'        # example for default-route

#------------------------------------------------------------------------------
# Packetfilter configuration; there are two styles, old and new -
# you have to choose one of them.
#
# Please choose the new packet filter configuration, the old one is
# deprecated and only provided for compatibility reasons. During boot
# up the configuration will be translated to the new configuration,
# printed to the screen and written to bootmsg.txt to allow for an
# easy migration to the new config style.
#
# Old style packet filter config - set ORIG_FW_CONFIG='yes' to use
# this version
#------------------------------------------------------------------------------
ORIG_FW_CONFIG
='no'

       
#--------------------------------------------------------------------------
       
# Known networks - Networks which are allowed to pass the packet
       
# filter (additional restrictions may be applied via black/white
       
# lists, port based filters, port forwarding opens additional holes, ...)
       
#--------------------------------------------------------------------------
        MASQ_NETWORK
='192.168.0.0/16'   # networks to masquerade (e.g. our LAN)
        ROUTE_NETWORK
=''                   # same as masq_network, but packets
                                                           
# going into these networks are not
                                                           
# masqueraded, see documentation
        TRUSTED_NETS
=''                 # allow free and unmasqueraded
                                                           
# communication between these networks

       
#--------------------------------------------------------------------------
       
# Host based restrictions: internal hosts to allow/deny forwarding
       
#
       
# FORWARD_HOST_WHITE='no'  describes a black list (forbidden)
       
# FORWARD_HOST_WHITE='yes' describes a white list (allowed)
       
#
       
# Example:
       
#   FORWARD_HOST_WHITE='no' and FORWARD_HOST_N='0':
       
#       -> forwarding of 0 hosts is denied
       
#       -> forwarding of all hosts is allowed
       
#--------------------------------------------------------------------------
        FORWARD_HOST_WHITE
='no'                   # 'no': black list, 'yes': white list
        FORWARD_HOST_N
='0'                                 # number of allowed/denied hosts
        FORWARD_HOST_1
='192.168.6.5'             # optional: 1st allowed/denied host
        FORWARD_HOST_2
='@client2'                       # optional: 2nd allowed/denied host
       
       
#--------------------------------------------------------------------------
       
# Port based restrictions: ports to reject/deny forwarding
       
#--------------------------------------------------------------------------
        FORWARD_DENY_PORT_N
='3'                   # no. of ports to reject/deny
                                                                                 
# forwarding
        FORWARD_DENY_PORT_1
='139 REJECT-TCP' # reject forwarding of netbios
        FORWARD_DENY_PORT_2
='445 REJECT-TCP'
        FORWARD_DENY_PORT_3
='137-138 REJECT-UDP'

       
#--------------------------------------------------------------------------
       
# Accept connections from outside to several ports (served ports)
       
#--------------------------------------------------------------------------
       
# INPUT_POLICY='REJECT'                  # be nice and use reject as policy
                                                                               
# already defined in new style
                                                                               
# filter section
        INPUT_ACCEPT_PORT_N
='0'                  # no. of ports to accept from outside
        INPUT_ACCEPT_PORT_1
='22 TCP'            # e.g. allow connection to ssh service

       
#--------------------------------------------------------------------------
       
# Logging
       
#--------------------------------------------------------------------------
        PACKETFILTER_LOG
='no'                      # log access to rejected/denied ports

#------------------------------------------------------------------------------
# New style packet filter config - set NEW_FW_CONFIG='yes' to use this
# version
#------------------------------------------------------------------------------
NEW_FW_CONFIG
='yes'                               # new style packet filter config: yes/no

        INPUT_POLICY
='REJECT'                   # be nice and use reject as policy
        INPUT_ACCEPT_DEF
='yes'             # use default rule set
        INPUT_LOG
='no'                             # don't log anything
        INPUT_LOG_LIMIT
='3/minute:5'     # log 3 events per minute; allow a
                                                                         
# burst of 5 events
        INPUT_REJ_LIMIT
='1/second:5'     # reject 1 connection per second; allow a
                                                                         
# burst of 5 events; otherwise
                                                                         
# drop packet
        INPUT_UDP_REJ_LIMIT
='1/second:5' # reject 1 udp packet per second; allow a
                                                                         
# burst of 5 events; otherwise drop packet
        INPUT_LIST_N
='1'
        INPUT_LIST_1
='IP_NET_1 ACCEPT'   # allow all hosts in the local
                                                                         
# network access to the router
        INPUT_LIST_2
='tmpl:samba DROP NOLOG' # drop (or reject) samba access
                                                                                 
# without logging, otherwise the log
                                                                                 
# file will be filled with useless
                                                                                 
# entries

        FORWARD_POLICY
='REJECT'           # be nice and use reject as policy
        FORWARD_ACCEPT_DEF
='yes'                 # use default rule set
        FORWARD_LOG
='no'                                 # don't log anything
        FORWARD_LOG_LIMIT
='3/minute:5'   # log 3 events per minute; allow a
                                                                         
# burst of 5 events
        FORWARD_REJ_LIMIT
='1/second:5'   # reject 1 connection per second; allow a
                                                                         
# burst of 5 events; otherwise
                                                                         
# drop packet
        FORWARD_UDP_REJ_LIMIT
='1/second:5'  # reject 1 udp packet per second; allow
                                                                               
# a burst of 5 events; otherwise
                                                                               
# drop packet
        FORWARD_LIST_N
='2'
        FORWARD_LIST_1
='tmpl:samba DROP' # drop samba traffic if it tries
                                                                         
# to leave the subnet
        FORWARD_LIST_2
='IP_NET_1 ACCEPT' # accept everything else

        POSTROUTING_LIST_N
='1'
        POSTROUTING_LIST_1
='IP_NET_1 MASQUERADE'  # masquerade traffic leaving
                                                                                         
# the subnet

        PREROUTING_LIST_N
='0'
        PREROUTING_LIST_1
='1.2.3.4 dynamic:22 DNAT:@client2'
                                                                                         
# forward ssh connections
                                                                                         
# coming from 1.2.3.4 to client2

#------------------------------------------------------------------------------
# Simple DMZ setup for dial-up based routers -- see documentation
#------------------------------------------------------------------------------
OPT_DMZ
='no'

#------------------------------------------------------------------------------
# Optional package: PORTFW
#------------------------------------------------------------------------------
PORTFW_N
='0'                                              # how many portforwardings to set up
PORTFW_1_TARGET
='8080'                          # example 1: forward ext. port 8080
PORTFW_1_NEW_TARGET
='192.168.6.15:80' # ...to int. host 192.168.6.15 port 80
PORTFW_1_PROTOCOL
='tcp'                    # ...using tcp
PORTFW_2_TARGET
='3000-3010'                # example 2: forward portrange 3000-3010
PORTFW_2_NEW_TARGET
='192.168.6.15'      # ...to int. host 192.168.6.15
PORTFW_2_PROTOCOL
='tcp'                    # ...using tcp

#------------------------------------------------------------------------------
# Masq modules
#------------------------------------------------------------------------------
MASQ_MODULE_N
='1'                                        # load n masq modules (default: only ftp)
MASQ_MODULE_1
='ftp'                                # ftp
MASQ_MODULE_1_OPTION
=''                    # options, see documentation
MASQ_MODULE_2
='irc'                                # irc
MASQ_MODULE_2_OPTION
=''                    # options, see documentation

#------------------------------------------------------------------------------
# Domain configuration:
#------------------------------------------------------------------------------
DOMAIN_NAME
='lan.fli4l'                    # your domain name
DNS_FORWARDERS
='194.8.57.8'                # DNS servers of your provider,
                                                                         
# e.g. ns.n-ix.net

OPT_DNS
='yes'                                            # start dns server: yes or no
        DNS_TRIGGER_DIAL_IN
='yes'                 # trigger a dial-in before
                                                                         
# forwarding requests
        DNS_LISTENIP_N
='0'                              # if 0 then listen on all interfaces
        DNS_LISTENIP_1
='IP_NET_1_IPADDR'  # first IP to listen on
        DNS_VERBOSE
='no'                                  # log queries into syslog
        DNS_MX_SERVER
=''                                  # fqdn of the mx for your DOMAIN
        DNS_FORBIDDEN_N
='0'                        # number of forbidden domains
        DNS_FORBIDDEN_1
='foo.bar'                # 1st forbidden domain
        DNS_FORBIDDEN_2
='bar.foo'                # 2nd forbidden domain
        DNS_REDIRECT_N
='0'                              # number of redirected domains
        DNS_REDIRECT_1
='foo.bar.foo'      # 1st redirected domain
        DNS_REDIRECT_1_IP
='192.168.6.100' # IP of redirected domain
        DNS_BOGUS_PRIV
='yes'                      # fake reverse lookups for RFC1918
                                                                         
# private address ranges
        DNS_FILTERWIN2K
='yes'                    # filters useless windows-originated DNS
                                                                         
# requests and blocks all SRV requests

       
# Special DNS configuration
       
#--------------------------
        DNS_SPECIAL_N
='0'                                                  # number of special
                                                                                               
# dns servers, normally 0
       
#DNS_SPECIAL_1='firma.de 192.168.1.12'    # 1st special dns server
                                                                                               
# for firma.de
       
#DNS_SPECIAL_2='lan.firma.de 192.168.2.12'  # 2nd special dns server
                                                                                               
# for lan.firma.de

HOSTS_N
='4'                                                # number of hosts in your domain
                                                                         
# 1st host:
HOST_1_NAME
='fli4l'                             # name or aliasname e.g. "HOSTNAME"
HOST_1_IP
='192.168.1.1'            # IP or aliasname e.g. "IP_NET_1_IPADDR"
#HOST_1_ALIAS_N='0'                                # number of optional alias names
#HOST_1_ALIAS_1='router.lan.fli4l'      # 1st optional alias name
#HOST_1_ALIAS_2='gateway.lan.fli4l'
                                                                         
# 2nd host:
HOST_2_NAME
='client1'                            # name
HOST_2_IP
='192.168.1.2'                    # IP
#HOST_2_DHCPTYP='hostname'                      # set static dhcp-lease via [hostname]
                                                                         
# or [mac]
#HOST_2_MAC='de:ad:af:fe:07:19'    # optional mac address used by dhcpd
                                                                         
# 3rd host:
HOST_3_NAME
='client2'                            # name
HOST_3_IP
='192.168.2.2'                    # IP
#HOST_3_MAC='de:ad:be:ef:07:19'
                                                                         
# 4th host:
HOST_4_NAME
='client3'                            # name
HOST_4_IP
='192.168.3.2'                    # IP
#HOST_4_MAC='de:ad:be:ef:08:15'

#------------------------------------------------------------------------------
# DNSMASQ-DHCP server
#------------------------------------------------------------------------------
OPT_DNSDHCP
='no'                                          # activate DHCP server: yes or no

        DNSDHCP_LS_TIME_DYN
='3600'              # default time for dynamic leases: 1 hour
        DNSDHCP_MAX_LS_TIME_DYN
='7200'  # max time  for dynamic leases: 2 hours
        DNSDHCP_LS_TIME_FIX
='86400'        # default time for fix leases: 1 day
        DNSDHCP_MAX_LS_TIME_FIX
='604800'  # max time for fix leases: 1 week
        DNSDHCP_LEASES_DIR
='/boot'              # don't touch this until you
                                                                         
# have read the manual!

        DNSDHCP_WINSSERVER_1
=''            # IP-address of 1st external wins-server
                                                                         
# (don't use if OPT_NMBD='yes'!)
        DNSDHCP_WINSSERVER_2
=''            # IP-address of 2nd external wins-server
                                                                         
# (don't use if OPT_NMBD='yes'!)

       
# Parameters for local Networks
       
# -----------------------------
        DNSDHCP_RANGE_1_START
='192.168.6.100'    # start-IP of n'th ethernet,
                                                                                         
# see IP_NET_N
        DNSDHCP_RANGE_1_END
='192.168.6.150'        # end-IP of n'th ethernet,
                                                                                         
# see IP_NET_N
        DNSDHCP_RANGE_1_DNS_SERVER
=''                    # if empty the IP of interface



Kann den Router von einem Rechner aus zwar anpingen, von den 2 anderen aber nicht. Auch komm ich mit keinem der 3 ins Internet. Habs zwar auch schon mit DHCP versucht, ging aber auch net.

dante

Dieser Beitrag wurde von dante bearbeitet: 05. April 2006 - 11:58

0

Anzeige



#2 Mitglied ist offline   thdrummer 

  • Gruppe: aktive Mitglieder
  • Beiträge: 53
  • Beigetreten: 29. November 04
  • Reputation: 0

geschrieben 05. April 2006 - 10:47

Wo ist das Problem? Es wäre sinnvoll, dein Passwort zu zensieren, da sonst geschickte Leute auf deinen Router zugreifen und Einstellungen verändern können...

Gruß
0

#3 Mitglied ist offline   dante 

  • Gruppe: aktive Mitglieder
  • Beiträge: 238
  • Beigetreten: 24. Februar 05
  • Reputation: 0

geschrieben 05. April 2006 - 10:56

Das Problem ist, dass die Verbindung zu den anderen beiden Rechnern einfach nicht steht. Auch komm ich mit keinem der 3 ins I-Net. Anscheinend ist es wirklich so ungewohnlich keinen Hub zu verwenden. Werd aus der Doku einfach net schlau (bin auch net Netzwerktechnich net arg weit ;) ).

dante

PS: Hab natürlich nicht das Standardpasswort verwendet.
0

#4 Mitglied ist offline   thdrummer 

  • Gruppe: aktive Mitglieder
  • Beiträge: 53
  • Beigetreten: 29. November 04
  • Reputation: 0

geschrieben 05. April 2006 - 11:06

1. Kannst du mit einem der 3 Rechner den Router anpingen?
2. Kannst du mit einem der 3 Rechner z.B. www.google.de anpingen?
Du kannst auch mal in spline.fli4l (http://www.fli4l.de/...ewsgruppen.html) posten, allerdings musstd du dich da mit einer Antwort etwas gedulden...

Gruß

Dieser Beitrag wurde von thdrummer bearbeitet: 05. April 2006 - 11:08

0

Thema verteilen:


Seite 1 von 1

1 Besucher lesen dieses Thema
Mitglieder: 0, Gäste: 1, unsichtbare Mitglieder: 0