deadman
Goto Top

Fli4l-Router Konfiguration

Hallo erstmal....also ich hab ein kleines Problem und zwar hab ich mir mal zum testen fli4l in der 3.0.0 version gezogen udn wollte es auf meiner alten 800 mhz krücke laufen lassen bevor sie sich nur langweilt.....gesagt getan und auch angefangen zu konfigurieren mein problem ist folgendes der "router" hat zwei netzwerkkarten die eine zum modem und die zweite geht per crossoverkabel an meinen 2. rechner den client.....
is es sinnvoller wenn ich nen switch zwischen packen das heißt client und 2.NIC an den switch und erste NIC zum modem?.....weil so wies atm is is der router dann auch mit fli4l online und ich kann das "internet" pingen aber mit dem client habe ich kein internet.....bitte um antworten..
grüße dead

Content-Key: 25526

Url: https://administrator.de/contentid/25526

Ausgedruckt am: 28.03.2024 um 08:03 Uhr

Mitglied: PLONK
PLONK 08.02.2006 um 19:04:34 Uhr
Goto Top
Hallo,

ich kenn das Programm nicht wirklich, ist schon ewig her das ich es benutzt habe, aber eine gute Anleitung zur Konfiguration gibts hier:

http://www.freenet.de/freenet/computer_und_technik/betriebssysteme/linu ...

mfg
PLONK
Mitglied: Janni
Janni 08.02.2006 um 19:20:32 Uhr
Goto Top
Ich verstehe zwar Deinen Text nicht so ganz, aber .... wenn Du nur einen Client an den Router (Fli4l) hängst reicht das gecrosste Kabel völlig aus. Erst wenn Du mehr als einen Rechner ins Internet bringen möchtest, bzw. untereinander vernetzen möchtest solltest Du Dir einen Switch zulegen.

MFG
Mitglied: Deadman
Deadman 08.02.2006 um 19:59:17 Uhr
Goto Top
Ich verstehe zwar Deinen Text nicht so ganz,
aber .... wenn Du nur einen Client an den
Router (Fli4l) hängst reicht das
gecrosste Kabel völlig aus. Erst wenn
Du mehr als einen Rechner ins Internet
bringen möchtest, bzw. untereinander
vernetzen möchtest solltest Du Dir
einen Switch zulegen.

MFG

ja k...aber mit dem gecrossten kabel komme ich als client nich online
Mitglied: moonstar
moonstar 08.02.2006 um 20:01:31 Uhr
Goto Top
Hi,
wie sehen denn deine IP-Adressen aus?

Welche IP-Adresse hat dein Router ?
Welche IP-Adresse hat dein Client? (Manuelle vergeben oder DHCP ?)

Was hast Du auf dem Client als Gateway eingetragen?

Kannst du denn überhaupt von dem Client dein Router anpingen?

oder gleich mal ping auf www.google.de oder ping auf 64.233.183.147

MoonStar
Mitglied: Deadman
Deadman 08.02.2006 um 20:13:36 Uhr
Goto Top
router 192.168.1.1
client one 192.168.1.2
dhcp aus
beim client gateway:192.168.1.1
anpingen geht auch nich....halt nur vom router
Mitglied: moonstar
moonstar 08.02.2006 um 20:35:57 Uhr
Goto Top
soweit ist es ja ok!

Nur deine Verbindung zwischen Client und Router steht anscheinend nicht.

Kannst Du denn vom Client aus dein Router anpingen und vom Router aus dein Client?

Wenn nicht ist evtl. die Netzwerkkarte im Router nicht richtig kofiguriert oder Treiber im fli4l nicht richtig ausgewählt.
Mitglied: Deadman
Deadman 08.02.2006 um 20:42:18 Uhr
Goto Top
hmm..kann sein....hab heute eine zeit mehr werde morgen die base&dsl.txt posten
Mitglied: Deadman
Deadman 09.02.2006 um 15:17:58 Uhr
Goto Top
So endlich zu hause werde ich noch mal etwas detailierter antworten....
also im router stecken zwei NIC´s beide mit Realtek 8139 Chip...als information
So werde ich euch mal die base.txt und die dsl.txt posten eventuell sieht einer dann ja einen fehler.....
BASE.TXT

##-----------------------------------------------------------------------------
## base.txt - fli4l configuration parameters                       3.0.0
##
## 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 10674 2005-12-20 09:24:42Z rresch $
##
## Copyright (c) 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='dead'               # name of fli4l router  
PASSWORD='*****'               # 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, default if empty
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

#------------------------------------------------------------------------------
# Ethernet card drivers:
#
#  Driver       Bus     Description
#
#  3c503        ISA     3COM EtherLinkII (3c503)
#  3c505        ISA     3COM Etherlink Plus (3c505)
#  3c507        ISA     3COM Etherlink 16 (3c507)
#  3c509        ISA     3COM EtherLinkIII (3c509)
#  3c515        ISA     3COM EtherLink XL ISA (3c515)
#  3c59x        PCI     3COM Vortex/Boomerang 3c59x,3c900,3c905
#  8139cp       PCI     RealTek 8139C+
#  8139too      PCI     RealTek 8129/8139 10/100 MB (NEW)
#  rtl8139-db   PCI     RealTek 8129/8139, Donald Beckers Version, see 
#                       <http://www.scyld.com/network/rtl8139.html>
#  82596                Apricot Xen-II on board Ethernet
#  acenic       PCI     Alteon AceNIC Gigabit Ethernet
#  at1700       ISA     AT1700 (Fujitsu 86965) ISA
#  b44          PCI     Broadcom 4400
#  cs89x0       ISA     IBM Etherjet, cs89x0 based Cards
#                       (Option io=0xnnn necessary!)
#  de4x5        PCI/EISA Digital DE425, DE434, DE435, DE450, DE500
#  depca        ISA     DEPCA, DE10x, DE200, DE201, DE202, DE422
#  dgrs         PCI     Digi International RightSwitch PCI/EISA
#  dl2k         PCI     D-Link DL2000-based Gigabit Ethernet Adapter
#  dmfe         PCI     DM9102 compatible PCI cards from Davicom
#  e1000        PCI     Intel EtherExpress PRO/1000 Gigabit Ethernet
#  e100         PCI     Intel's original driver for EEPRO100  
#  e2100        ISA     Cabletron E21xx ISA
#  eepro100     PCI     Intel EtherExpressPro PCI 10+/100B/100+
#  eepro        ISA     Intel EtherExpress Pro/10
#  eexpress     ISA     EtherExpress16 ISA
#  epic100      PCI     SMC EPIC/100 (EtherPower II) PCI
#  eth16i       ISA/EISA    ICL EtherTeam 16i/32
#  ewrk3        ISA     EtherWORKS 3 ISA (DE203, DE204, DE205)
#  fealnx       PCI     ASOUND LAN 8139 card - not RTL8139 (NEW)
#  hamachi      PCI     GNIC-II Gigabit Ethernet
#  hp100        ISA/EISA/PCI    HP 10/100VG PCLAN (ISA, EISA, PCI)
#  hp           ISA     HP PCLAN (27245, 27xxx) ISA
#  hp-plus      ISA     HP PCLAN+ (27247B and 27252A) ISA
#  lance        ISA     AMD LANCE and PCnet (AT1500, NE2100) ISA
#  lp486e               Intel Professional Workstation/panther ethernet driver
#  natsemi      PCI     National Semiconductor
#  ne2k-pci     PCI     NE2000 PCI clone (eg. Realtek 8029, Winbond 89c940)
#  ne           ISA     NE2000 ISA clone (eg. Realtek 8019,
#                       Accton 16xx, NatSemi 8390, UMC 9003/9008)
#  ni5010               MiCom-Interlan NI5010
#  ni52                 NI5210 card (i82586 Ethernet chip)
#  ni65                 ni6510 (am7990 'lance' chip)  
#  ns83820      PCI     cards with National Semiconductor 83820 chip
#  pcnet32      PCI     AMD PCI PCnet32
#  r8169        PCI     Realtek 8169 Gigabit Ethernet
#  sis900       PCI     SiS 900/7016
#  sk98lin      PCI     SysKonnect Gigabit Ethernet Server Adapters
#  smc9194              SMC's 9000 series of Ethernet cards  
#  smc-ultra    ISA     SMC ULTRA
#  starfire     PCI     Starfire
#  sundance     PCI     DFE-550FX or DFE-530TXS (NEW)
#  tg3          PCI     Broadcom Tigon3
#  tlan         PCI     TI ThunderLAN (Compaq Netelligent ...)
#  tulip        PCI     DECchip Tulip (dc21x4x) PCI
#  via-rhine    PCI     VIA Rhine PCI (3043, VT86c100A, dfe-530tx)
#  wd           ISA     SMC WD80*3
#  winbond-840  PCI     Winbond 840
#  sunhme       PCI/Sbus    Sun Happy Meal 10/100baseT support
#                           (only QFE is tested)
#  yellowfin    PCI     Packet Engines G-NIC PCI Gigabit Eth Adapter
#
# Donald Becker drivers, see <http://www.scyld.com/>
#
#  epic100-db
#  3c59x-db             This driver is for the 3Com "Vortex" and  
#                       "Boomerang" series ethercards. Members of the  
#                       series include Fast EtherLink
#                       3c590/3c592/3c595/3c597 and the EtherLink XL
#                       3c900 and 3c905 cards.
#
#
# Drivers below need the Package pcmcia installed:
#
#  3c574_cs     PCMCIA  3Com 574
#  3c589_cs     PCMCIA  3Com 589
#  axnet_cs     PCMCIA  Asix AX88190 Fast Ethernet
#  fmvj18x_cs   PCMCIA  Fujitsu FMV-J181/182 Ethernet
#  nmclan_cs    PCMCIA  New Media Ethernet LAN
#  pcnet_cs     PCMCIA  NS8390-based cards (NE2000, DLINK etc)
#  smc91c92_cs  PCMCIA  SMC91c92-based cards
#  xirc2ps_cs   PCMCIA  Xircom: CE2, CEM28, CEM33, or CE3
#
# If you don't find your Cardbus Card here then try the equivalent PCI-Driver:  
# 3c59x instead of 3c575_cb or 8139too instead of realtek_cb
#
# These drivers need PCMCIA _and_ WLAN:
#
#  orinoco_cs   PCMCIA  Lucent/Orinoco WLAN-Cards
#  hostap_cs    PCMCIA  PrismII/2.5/3 based Cards - supports AP-Mode
#  wavelan_cs   PCMCIA  WaveLAN
#  wl24_cs      PCMCIA  ELSA Airlancer MC-2 - Should have Firmware 2.10
#  airo_cs      PCMCIA  Cisco Aironet 4500 & 4800 series PCMCIA cards
#  ray_cs       PCMCIA  Raylink wireless cards
#  netwave_cs   PCMCIA  Netwave AirSurfer Wireless LAN
#
# These drivers need Package WLAN
#
# WLAN-Card Drivers IEEE802.11b:
#
#  hostap_pci   PCI     Prism 2.5 based PCI Wlan Cards
#  hostap_plx   PCI     Prism 2,2.5 and 3 based PCMCIA-WLan Cards
#                       in PLX-Adapter
#  airo         PCI/ISA Cisco Aironet 4500 & 4800 series PCI/ISA cards
#
# These 3 drivers acutally only work with Prism-II Cards - alternative driver
# to hostap_*
#  orinoco_pci  PCI     Lucent/Orinoco based WLAN-Cards
#  orinoco_plx  PCI     Lucent/Orinoco based PCMCIA WLAN-Cards in PLX Adapter
#  orinoco_tmd  PCI     Lucent/Orinoco based WLAN-Cards with TMD PCI-Bridge

# WLAN-Card Drivers IEEE802.11g:
#
#  prism54      PCI/PCMCIA  Prism GT / Prism Duette / Prism Indigo Chipsets
#                           Achten Sie auf die Hinweise zum Prism54 Treiber
#                           in der WLAN Dokumentation!
#  rt2500	PCI/CARDBUS Ralink RT2500 Cards - experimental
#
# USB-Card Drivers:
#
#  pegasus      teledat Fast Ethernet USB
#
#  kaweth       3Com 3C19250
#               ADS USB-10BT
#               ATEN USB Ethernet
#               ASANTE USB To Ethernet Adapter
#               AOX Endpoints USB Ethernet
#               Correga K.K.
#               D-Link DSB-650C and DU-E10
#               Entrega / Portgear E45
#               I-O DATA USB-ET/T
#               Jaton USB Ethernet Device Adapter
#               Kingston Technology USB Ethernet Adapter
#               Linksys USB10T
#               Mobility USB-Ethernet Adapter
#               NetGear EA-101
#               Peracom Enet and Enet2
#               Portsmith Express Ethernet Adapter
#               Shark Pocket Adapter
#               SMC 2202USB
#               Sony Vaio port extender
#  rtl8150      RTL8150-based USB-Ethernet-Cards
#  catc         Belkin F5U111
#               CATC NetMate
#               CATC NetMate II
#               smartBridges smartNIC
#
# DSL-Modems shown as Ethernetcards:
#
#  cdcether     Ericsson PipeRider (all variants)
#               Motorola (DM100 and SB4100)
#               Broadcom Cable Modem (reference design)
#               Toshiba PCX1100U and possibly other cable modems
#               Sharp Zaurus SL-5000D
#  eagle-usb    Allied Telesyn AT-AR 215
#               Sagem 250
#               Acer ADSL Surf USB
#               D-Link DSL 260i
#               Sagem 840
#               US Robotics USR9000
#               Sagem F@st 800
##
# USB-to-USB-network-cable:
#
#  usbnet       Driver for usb-to-usb networklinks
#
# Token ring drivers (see token ring mini howto on 
#     <http://www.tldp.org/docs.html#howto> and feel 
#     free to submit documention changes:
#
#  3c359
#  abyss
#  ibmtr
#  lanstreamer
#  olympic
#  smctr
#  tmsisa
#  tmspci
#
#  If you need a dummy device use 'dummy' as you NET_DRV  
#  and IP_NET_%_DEV='dummy<number>' as your device  
#
#------------------------------------------------------------------------------
NET_DRV_N='2'                  # number of ethernet drivers to load, usually 1  
NET_DRV_1='8139too'           # 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='1'                   # number of IP ethernet networks, usually 1  
IP_NET_1='192.168.6.0/24'      # IP address of your n'th ethernet card and  
                               # netmask in CIDR (no. of set bits)
IP_NET_1_DEV='eth1'            # required: device name like ethX  

#------------------------------------------------------------------------------
# Additional routes, optional
#------------------------------------------------------------------------------
IP_ROUTE_N='0'                            # number of additional routes  
IP_ROUTE_1='192.168.7.0/24 192.168.6.99'  # network/netmaskbits gateway  
IP_ROUTE_2='0.0.0.0/0 192.168.6.99'       # 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='IP_NET_1'    # 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_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='dead'                # 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='ClientOne'                 # name  
HOST_2_IP='192.168.1.2'               # IP  
#HOST_2_DHCPTYP='hostname'            # set static dhcp-lease via [hostname]   
                                      # or [mac]
#HOST_2_MAC=''       # optional mac address used by dhcpd  
                                      # 3rd host:
HOST_3_NAME='ClientTwo'                 # name  
HOST_3_IP='192.168.1.3'               # IP  
#HOST_3_MAC=''  
                                      # 4th host:
HOST_4_NAME='ClientThree'                 # name  
HOST_4_IP='192.168.1.4'               # IP  
#HOST_4_MAC=''  

#------------------------------------------------------------------------------
# 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  
                                              # IP_NET_N is used;
                                              # if set to 'none' no  
                                              # dns-server is transmitted
    DNSDHCP_RANGE_1_NTP_SERVER=''             # if empty and OPT_CHRONY='yes'  
                                              # the IP of interface IP_NET_N
                                              # is used; if set to 'none' no  
                                              # ntp-server is transmitted
    DNSDHCP_RANGE_1_GATEWAY=''                # if empty the IP of interface  
                                              # IP_NET_N is used;
                                              # if set to 'none' no  
                                              # gateway is transmitted

    # Parameters for extra Networks (via relay)
    # -----------------------------------------
    DNSDHCP_EXTRA_RANGE_N='0'                    # number of extra ranges  
    DNSDHCP_EXTRA_RANGE_1_START='192.168.8.2'    # start-IP of n'th extra range  
    DNSDHCP_EXTRA_RANGE_1_END='192.168.8.50'     # end-IP of n'th extra range  
    DNSDHCP_EXTRA_RANGE_1_NETMASK='255.255.255.0'  # netmask for extra range  
    DNSDHCP_EXTRA_RANGE_1_DNS_SERVER='192.168.8.1' # DNS Server for extra range  
    DNSDHCP_EXTRA_RANGE_1_NTP_SERVER=''          # NTP Server for extra range  
    DNSDHCP_EXTRA_RANGE_1_GATEWAY='192.168.8.1'  # default gateway for  
                                                 # extra range

    DNSDHCP_EXTRA_RANGE_1_DEVICE='eth0'    # device used to reach extra network  
                                                   

    # Deny hosts from dhcp-Access
    # ---------------------------
    DNSDHCP_DENY_MAC_N='0'                    # number of denied MAC addresses  
    DNSDHCP_DENY_MAC_1='00:01:02:03:04:05'    # MAC address is denied from DHCP  


#------------------------------------------------------------------------------
# imond configuration:
#------------------------------------------------------------------------------
START_IMOND='yes'                    # start imond: yes or no  
    IMOND_USE_ORIG='yes'            # use the original version of imond instead  
                                    # of the development version: yes or no
    IMOND_PORT='5000'               # port (tcp), don't open it to the outside  
    IMOND_PASS='123'                   # imond-password, may be empty  
    IMOND_ADMIN_PASS='123'             # 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='auto'                     # standard dialmode: auto, manual, or off  

#------------------------------------------------------------------------------
# optional package: syslogd
#------------------------------------------------------------------------------
OPT_SYSLOGD='no'                       # start syslogd: yes or no  
    SYSLOGD_DEST_N='1'                 # number of destinations  
    SYSLOGD_DEST_1='*.* /dev/console'  # n'th prio & destination of syslog msgs  
    SYSLOGD_DEST_2='*.* @192.168.6.2'  # example: loghost 192.168.6.2  
    SYSLOGD_DEST_3='kern.info /var/log/dial.log'  # example: log infos to file  

#------------------------------------------------------------------------------
# Optional package: klogd
#------------------------------------------------------------------------------
OPT_KLOGD='no'                      # start klogd: yes or no  

#------------------------------------------------------------------------------
# Optional package: y2k correction
#------------------------------------------------------------------------------
OPT_Y2K='no'                        # y2k correction: yes or no  
    Y2K_DAYS='0'                    # correct hardware y2k-bug: add x days  

#------------------------------------------------------------------------------
# Optional package: PNP
#------------------------------------------------------------------------------
OPT_PNP='no'                        # install isapnp tools: yes or no  




DSL.TXT


##-----------------------------------------------------------------------------
## dsl.txt - fli4l configuration parameters                        3.0.0
##
##        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: dsl.txt 7217 2004-12-07 19:23:39Z abe $
##
## 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.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Optional package: PPPoE
#------------------------------------------------------------------------------
OPT_PPPOE='yes'                  # use ppp over ethernet: yes or no  
PPPOE_NAME='DSL'                # circuit name, don't use spaces  
PPPOE_USEPEERDNS='yes'          # use dns server of your provider: yes or no  
PPPOE_ETH='eth0'                # eth card connected to ADSL modem,  
                                # e.g. 2nd or an ethernet based
                                # bridge, e.g. br0
PPPOE_TYPE='in_kernel'               # async, sync or in_kernel  
PPPOE_DEBUG='no'                # enable pppd debugging, 'yes' or 'no'  
PPPOE_USER='********'           # username  
PPPOE_PASS='********'             # password  
PPPOE_HUP_TIMEOUT='600'         # idle time after which to hangup  
PPPOE_CHARGEINT='60'            # value of charge interval (in seconds)  
PPPOE_TIMES='Mo-Su:00-24:0.0:Y' # times/charges when LCR  
PPPOE_FILTER='yes'              # filter traffic to be able to hangup  
                                # even if someone is trying to scan us
PPPOE_MTU='1492'		# set MTU for PPPOE connection  
PPPOE_MRU='1492'		# set MRU for PPPOE connection  

#------------------------------------------------------------------------------
# Optional package: FRITZDSL
#------------------------------------------------------------------------------
OPT_FRITZDSL='no'                  # use fritzdsl: yes or no  
FRITZDSL_NAME='DSL'                # circuit name, don't use spaces  
FRITZDSL_USEPEERDNS='yes'          # use dns server of your provider: yes or no  
FRITZDSL_TYPE='fcdsl'              # fcdsl, fcdsl2, fcdslusb, fcdslslusb  
                                   # or fcdslsl
FRITZDSL_PROVIDER='U-R2'           # type of provider  
FRITZDSL_USER='anonymer'           # username  
FRITZDSL_PASS='surfer'             # password  
FRITZDSL_DEBUG='no'                # enable pppd debugging, 'yes' or 'no'  
FRITZDSL_HUP_TIMEOUT='600'         # idle time after which to hangup  
FRITZDSL_CHARGEINT='60'            # value of charge interval (in seconds)  
FRITZDSL_TIMES='Mo-Su:00-24:0.0:Y' # times/charges when LCR  
FRITZDSL_FILTER='yes'              # filter traffic to be able to hangup  
                                   # even if someone is trying to scan us
FRITZDSL_MTU='1492'                # set MTU for FRITZDSL connection  
FRITZDSL_MRU='1492'                # set MRU for FRITZDSL connection  


#------------------------------------------------------------------------------
# Optional package: PPTP - DSL in Austria/Netherlands
#------------------------------------------------------------------------------
OPT_PPTP='no'                   # use PPTP: yes or no  
PPTP_NAME='DSL'                 # circuit name, don't use spaces  
PPTP_USEPEERDNS='yes'           # use dns server of your provider: yes or no  
PPTP_ETH='eth1'                 # ethernet card connected to ADSL modem  
PPTP_USER='anonymer'            # username  
PPTP_PASS='surfer'              # password  
PPTP_DEBUG='no'                 # enable pppd debugging, 'yes' or 'no'  
PPTP_HUP_TIMEOUT='600'          # idle time after which to hangup  
PPTP_MODEM_TYPE='bcaa'          # 3 different types in Austria:   
				#    bbaa / bcaa / xdsl 
                                # in the Netherlands use 'mxstream'  
PPTP_CHARGEINT='60'             # value of charge interval (in seconds)  
PPTP_TIMES='Mo-Su:00-24:0.0:Y'  # times/charges when LCR  
PPTP_FILTER='yes'               # filter traffic to be able to hangup  
                                # even if someone is trying to scan us

#----------------------------------------------------------------------------
# optional package: PPPoE-Status
#----------------------------------------------------------------------------
OPT_POESTATUS='no'              # show pppoe status on console #3  

#------------------------------------------------------------------------------
# Optional package: PFC - Packet-Filter-Compiler
#------------------------------------------------------------------------------
OPT_PFC='no'                    # see documentation  
Grüße dead
Mitglied: moonstar
moonstar 09.02.2006 um 20:15:58 Uhr
Goto Top
Hi,
wenn ich die Datei richtig gelesen habe benutzt dein Router den 192.168.6.0/255.255.255.0 Netz.
"IP_NET_1='192.168.6.0/24' # "

aber für deine Clienten hast du die IP-Adressen 192.168.1.1 -192.168.1.4 eingestellt.

Aktivier doch mal dhcp auf dem Router und PC oder
gibt deinen Client z.B. die IP-Adresse 192.168.6.4

--------------------------------
HOSTS_N='4' # number of hosts in your domain  
# 1st host:
HOST_1_NAME='dead' # 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='ClientOne' # name  
HOST_2_IP='192.168.1.2' # IP  
#HOST_2_DHCPTYP='hostname' # set static dhcp-lease via [hostname] 
# or [mac]
#HOST_2_MAC='' # optional mac address used by dhcpd 
# 3rd host:
HOST_3_NAME='ClientTwo' # name  
HOST_3_IP='192.168.1.3' # IP  
#HOST_3_MAC='' 
# 4th host:
HOST_4_NAME='ClientThree' # name  
HOST_4_IP='192.168.1.4' # IP  
#HOST_4_MAC=''  
-------------------------------------------------------

MoonStar
Mitglied: Deadman
Deadman 09.02.2006 um 21:17:29 Uhr
Goto Top
hi...ja die idee kam mir auch hab meinem client die ip 192.168.6.2 gegeben aber deswegen hat er trotzdem kein internet.....und die dhcp methode hatte ich noch nicht probiert wobei ich bezweifel dass es danach gehen würd aber das werd ich morgen testen....d.h ja dass ich nur bei
OPT_DNSDHCP='no' # activate DHCP server: yes or no
nen yes setzen muss und dann halt auf meinem client ip & dns server adresse automatisch beziehen oder?...grüße dead
Mitglied: moonstar
moonstar 09.02.2006 um 21:47:01 Uhr
Goto Top
das sollte so funktionieren.

Bye
MoonStar
Mitglied: Deadman
Deadman 10.02.2006 um 12:01:46 Uhr
Goto Top
Hey Jungs.....hab jetzt den dhcp server auf yes gesetzt und nun hab ich komischerweise internet....auf jedne fall schonmal ein danke jetzt kanns wenigstens weiter gehen den router zu konfigurieren.....falls irgendwann wieder was sein sollte wende ich mich an euch
gruß dead