Differences between revisions 5 and 6
Revision 5 as of 2015-04-06 09:38:59
Size: 30046
Editor: ?AlexanderAlemayhu
Comment: Generated by convert.pl
Revision 6 as of 2015-04-08 12:55:03
Size: 29046
Editor: ?AlexanderAlemayhu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
Eksisterer en ny utgave av Coyote Linux n√•r dette leses, kan den erstatte versjon 2.24 med kommandoene over med versjonsnummeret som ble lastet ned. Eksisterer en ny utgave av Coyote Linux når dette leses, kan den erstatte versjon 2.24 med kommandoene over med versjonsnummeret som ble lastet ned.
Line 62: Line 62:
The choice recommended is ¬´1.68MB¬ª The choice recommended is «1.68MB»
Line 126: Line 126:
Here ''must'' the answer be ¬´n¬ª! Here ''must'' the answer be «n»!
Line 150: Line 150:
Use English. It is much easier to get help. Search Google to find solution to problems. Use English. It is much easier to get help. Search for example using Google to find solution to problems.
Line 245: Line 245:
=== Hadling of exceptions === === Exception handling ===
Line 298: Line 298:
=== Hadling of exceptions === === Exception handling ===
Line 339: Line 339:
Når det er bestemt hvilken rolle det er for hver av network card-ene, da kan man omstarte brannmuren med alle kablene på plass.

Forskjellige navn på network card-ene

De to network card-ene har fote forskjellige navn i Coyote Linux. Det blir litt forvirrende og lite konsistent. Her f√∏lger en oversikt:

De forskjellige navn brukt på network cards i Coyote Linux

||''Denne går til eksisterende nett''||''Internett''||''Eth1''||''WAN''||
||Denn går til Skolelinux-nettet||LAN network||Eth0||LAN||

Start Coyote Linux-maskinen omigjen og vær sikker på at floppydisken til Coyote Linux står i diskettstasjonen. Pass også på at maskinen er satt opp til å starte fra floppydisk.

'''Figur 3-12. Coyote Linux Login'''
When the role of each of the network cards is decided, it is time to reboot the firewall with all the cables in place.

Different names on the network cards

The two network cards got two different names in Coyote Linux. This is a bit confusing and not very consistent. Here is a summary:

The various names used for network cards in Coyote Linux

||''This is connected to the existing network''||''Internet''||''Eth1''||''WAN''||
||This go to the Debian Edu network||LAN network||Eth0||LAN||

Reboot the Coyote Linux machine and make sure the Coyote Linux floppy disk is present in the floppy station. Enssure that the machine is configured to boot from floppy drive.

'''Figure 3-12. Coyote Linux Login'''
Line 356: Line 356:
Du kan logge inn. Bruk brukernavnet «root» og passordet som ble bestemt når floppydisken ble laget (om dette ble gjort fra Windows). Eller trykk '''Enter''' (tomt passord) for innlogging på disketten laget med Linux

Notat: Det er vanlig at det ikke følger med noen tilbakemelding når man trykker passord i et Linux-system. Dette er for å avsløre så lite som mulig om passordet.

=== Hadling of exceptions ===

'''meny, status til nettveket, nede'''
You can login. Use the username "root" and the password you set when you created the floppy (if this was done from Windows). or press'''Enter''' (blank password) for logging on floppy disk created by Linux

Note: It is normal that it does not follow with any feedback when you taste a password in a Linux system. This is to reveal as little as possible for the password.

=== Exception handling ===

'''meny, menu, status of the network, down'''
Line 366: Line 366:
Når du har kommet inn, trykk «c» for å få statusen til nettverket. I tilfelle det er et problem:

'''Figur 3-14. meny, status til nettverket, opp'''
Once you have entered, press 'c' to get the status of the network. In case there is a problem:

'''Figure 3-14. menu, status of network, up'''
Line 372: Line 372:
Om alt har gått bra vil begge være «oppe»

Q: [[#ExtraConfiguration--AEN698|Det ser ut som network card (LAN) som går til Skolelinux/Debian-edu-nettet ikke virker: DOWN]]

Q: [[#ExtraConfiguration--AEN704|Det ser ut som network card (WAN) som er tilkoblet Internett ikke virker: DOWN]]

Q: [[#ExtraConfiguration--AEN724|Vi har satt opp brannmurer med mange forskjellige nettverkskort og driver-moduler for mange network card. Vi har til gode å finne noe som ikke virker riktig.]]

'''Q:'''Det ser ut som network card (LAN) som går til Skolelinux/Debian-edu-nettet ikke virker: DOWN

'''A:'''Har du satt opp network card i henhold til [[#ExtraConfiguration--fwconf|A]], men fortsatt virker det ikke. Det kan hende at man har valgt feil driver for network card

'''Q:'''Det ser ut som network card (WAN) som er tilkoblet Internett ikke virker: DOWN

'''A:'''Det er vanligvis to grunner til at WAN network card ikke er oppe (UP):

 1. Du bruker en tilkobling med feil Internett-tilkobling. S√• du m√• ta en titt p√• ny p√• [[#ExtraConfiguration--clconnectiontype|2.b]]

Om du har en tilkobling med en adresse tildelt av DHCP, som ikke er statisk. Da må det være en fysisk tilkobling med en nettverkskabel mellom Coyote Linux og nettkontakten.

 1. Du har valgt feil driver-modul for dette network card.

Du bør forsøke å logge inn på Coyote Linux og velge '''q) quit''' for å gå ut av Coyote Linux-menyen. Så bør du kjøre kommandoen
If everything went well, both will be "up"

Q: [[#ExtraConfiguration--AEN698|It looks like the network card (LAN) going to to the Skolelinux/Debian-edu network is not working: DOWN]]

Q: [[#ExtraConfiguration--AEN704|It looks like the network card (WAN) connected to the Internet, is not working: DOWN]]

Q: [[#ExtraConfiguration--AEN724|We have set up firewalls with many different driver modules for many network cards. We have yet to find something not working properly.]]

'''Q:'''It looks like the network card (LAN) going to to the Skolelinux/Debian-edu network is not working: DOWN

'''A:'''Did you set up your network card according to the [[#ExtraConfiguration--fwconf|A]], but still do not work. You may have chosen the wrong driver for your network card

'''Q:'''It looks like the network card (WAN) connected to the Internet, is not working: DOWN

'''A:'''There are usually two reasons why the WAN network card is not up (UP):

 1. You use a connection with the wrong Internet connection. So you have to look anew at [[#ExtraConfiguration--clconnectiontype|2.b]]

If you have a connection with a DHCP-assigned address, which is not static. Then it must be a physical connection with a network between Coyote Linux and the net contact

 1. You have chosen the wrong driver module for this network card.

You should attempt to login to Coyote Linux and choose '''q) quit''' to go out of Coyote Linux menu. So you should run the command
Line 398: Line 398:
bruk så '''mellomrom''' for å bla. Se på referansene til '''eth0''' og '''eth1'''. Se på [[#ExtraConfiguration--clnicnames|Forskjellige navn på network card-ene]] for en påminnelse om hva eth0 og eth1 betyr. Det er vanligvis en indikator for hva problemet er.

'''Q:'''Vi har satt opp brannmurer med mange forskjellige nettverkskort og driver-moduler for mange network card. Vi har til gode å finne noe som ikke virker riktig.

'''A:'''Har du sett på dette nettstedet for mer informasjon om network card og passende driver-moduler for Coyote Linux? [http://www.dalantech.com/ http://www.dalantech.com]

=== Verification ===

Brannmuren virker om du kommer ut på Internett via nettleseren på hovedtjener eller en tilkoblet klient.

=== Update configuration database ===

== Administrasjon av brannmur i nettleser (Coyote) ==

Brukertilfelle: Vi trenger å endre innstillingene i brannmuren. Brannmuren står innelåst på datarommet. Kan jeg gjøre endringen over nettverket.
so use '''mellomrom''' to scroll. Look for references to '''eth0''' and '''eth1'''. Look at [[#ExtraConfiguration--clnicnames|Different names to the network cards]] for a reminder of what eth0 and eth1 means. Usually it is an indicator of what the problem is.

'''Q:'''We have sat up firewalls with many different driver modules for many network cards. We have yet to find any not working properly.

'''A:'''Do you have you looked at this site for more information about network card and corresponding driver modules for Coyote Linux? [http://www.dalantech.com/ http://www.dalantech.com]

=== Verification ===

The firewall works if you enter the Internet browser via the main server or a connected client.

=== Update configuration database ===

== Administration of firewall in browser (Coyote) ==

User Case: We need to change the settings in the firewall. The firewall is locked in the computer room. May I make the change over the network.
Line 418: Line 418:
Coyote Linux har en pen og et velfungerende administrasjonsverktøy via en nettside. Her kan man gjøre det meste. Skriv [http://10.0.2.1:8180/ http://10.0.2.1:8180] i adressefeltet til nettleseren. Adressen vil gi vev-administrasjon av Coyote Linux. Klikk på lenken, og skriv brukernavnet '''root''' og passordet du har laget for brannmuren.

'''Coyote Linux vev-administrasjon'''
Coyote Linux has a pretty and a functioning administration tool via a website. Here you can do it all. Write [http://10.0.2.1:8180/ http://10.0.2.1:8180] in the address field of your browser. The address will provide web administration for Coyote Linux. Click on the link and enter your user name '''root''' and password you created for the firewall.

'''Coyote Linux web administration'''
Line 424: Line 424:
Alle valg og innstillinger kan gjøres i Main Menu på venstresiden.

'''Coyote Linux hovedmeny'''
All options and settings can be done in Main Menu on the left side.

'''Coyote Linux Main Menu'''
Line 431: Line 431:
Å velge denne gir status for network card-er, IP-adressene som er på plass, oppetid til Coyote Linux, lst og lignende.

 * LAN oppsett

Her har du mulighet til å endre oppsettet til LAN network card. Det er denne som går til Skolelinux/Debian-edu-nettet. Behold verdiene som de er. Viser til [[#ExtraConfiguration--fwconf|A]].

Varsel: Ikke gj√∏r endringer her! √Ö gj√∏re det kan redusere ytelsen til Skolelinux/Debian-edu-nettet

< FIXME: B√∏r vise inneholdet av change_ip_setup her, senere>

 * Internett oppsett

Her har man muligheten til å endre veridene i WAN network card til det som går til Internett. Har du fått en ny Internett-leverandør, eller endrer dynamisk IP med DHCP til fast IP-adresse, så er dette stedet å endre informasjonen uten behov av å lage ny Coyote Linux-floppy fra bunnen av. Se [[#ExtraConfiguration--clconnectiontype|2.b]]

 * DHCP oppsett. Varsel: Ikke sett opp DCHP-tjener i Coyote Linux!

Dette gir muligheten til å sette opp DHCP-tjener som en del av Coyote Linux

 * Administrative innstillinger

Her kan man skru på og av tjenester som navnetjener (DNS), ssh og vev-admin.
Choosing this, gives the status of your network cards, IP addresses in place, uptime for Coyote Linux, Ist and the like.

 * LAN setup

Here you have the possibility to reconfigure the LAN network card. It goes to the Skolelinux/Debian-edu network. Leave the values as they are. Refering to [[#ExtraConfiguration--fwconf|A]].

Warning: Do not make changes here! Doing so may reduce the performance of Skolelinux/Debian-edu network

< FIXME: Should describe the contents of change_ip_setup her, senere>

 * Internet setup

Here you have the possibility of changing the values in WAN network card connecting to the Internet. If you have got a new ISP, or change a dynamically assigned by DHCP to a fixed IP address, this is the place to change the information without the need of creating a new Coyote Linux floppy from scratch. See [[#ExtraConfiguration--clconnectiontype|2.b]]

 * DHCP setup. Warning: Do not enable the DHCP server in Coyote Linux!

This provides the posibility to configure DHCP server as part of Coyote Linux

 * Administrative settings

Her kan man skru på og av tjenester som navnetjener (DNS), ssh og vev-admin.
Line 455: Line 455:
Her kan man endre og skru på port forwarding i Coyote Linux. Dette er en kjekk funksjon i et Skolelinux/Debian-edu-nett. Siden Coyote Linux stopper og blokkerer de fleste tilkoblinger som f.eks. ssh, er det kjekt å bruke port forwarding. Dette er en måte å slippe ssh-tilknytninger gjennom Coyote Linux til et Skolelinux/Debian-edu-nettverk.

Bruk denne regelen for port forwarding
Here you may change and enable port forwarding in Coyote Linux. This is a neat feature in a Skolelinux/Debian-edu network. Since Coyote Linux stops and blocks most connections for example ssh, it's nice to use port forwarding. This is a way to let ssh connections through Coyote Linux to a Skolelinux/Debian-edu- network.

Use this rule for port forwarding
Line 462: Line 462:
alle ssh-tilkytninger som kommer til Coyote Linux vil bli videresendt til Skolelinux/Debian-edu hovedtjener. Du må bestemme om dette er ønsket.

 * Forenklet oppsett av brannmur

Her kan man sette opp og stille inn brannmurregler i Coyote Linux. Det er mange regler som er klar til bruk, og kan brukes som eksempel.

 * Avansert brannmuroppsett
 * QOS oppsett

Her kan man sette opp begrensninger på nettkapasiteten

 * Systempassord

Her kan man endre root-passordet Coyote Linux, også kjent som system-passordet. Dette er på samme måte som å bruke kommandolinja [[#ExtraConfiguration--cllogin|Seksjon 3.6]].

 * Konfigurasjonsfiler

Dette er filer som inneholder alle innstillinger.

 * Diagnoseverkt√∏y

Her finner man nyttige verkt√∏y som ping, testing av porter (gateway), testing av navnetjener (DNS), og status for nettverket.

 * Backup n√•

Er det gjort endringer Coyote Linux ''må'' disse lagres på disketten. Ved å velge Main Menu i Coyote Linux så kan man velge å lagre oppsettet. Alternativet er at alle endringer går tapt ved omstart av Coyote Linux.

 * Omstart av systemet

Når man trenger å starte Coyote Linux på nytt kan dette gjøres fra «Main Menu». Når man velger omstart må dette bekreftes.

'''Omstart eller skru av Coyote Linux?'''
all ssh-connections coming to Coyote Linux will be forwarded to the Skolelinux/Debian-edu main server. You need to decide if this is desired.

 * Simplified firewall configuration

Here you can set up and configure the firewall rules in Coyote Linux. There are many rules ready to use and can be used as an example.

 * Advanced firewall configuration
 * QOS configuration

Here you can set up restrictions on network capacity

 * System password

Here you may change the root password i Coyote Linux, also known as system password. This is the same as using the command line [[#ExtraConfiguration--cllogin|Section 3.6]].

 * Configuration files

These are files that contain all settings.

 * Diagnostic tools

Here you will find useful tools like ping, testing ports (gateway), testing nameserver (DNS), and the status of the network.

 * Backup now

Are there any changes Coyote Linux ''must'' these be saved on the diskette. By selecting Main Menu in Coyote Linux users can choose to save the setup. The alternative is that all changes are lost when you reboot Coyote Linux

 * Reboot the system

When you need to start the Coyote Linux again this can be done from the "Main Menu". When choosing restart this must be confirmed.

'''Restart or turn off Coyote Linux?'''
Line 497: Line 497:
=== Hadling of exceptions ===

=== Verification ===

=== Update configuration database ===

== Brannmur som DHCP-tjener (Coyote) ==

Brukertifelle: Ønsker å sette opp en god DHCP-tjener med høy stabilitet uavhengig av operativsystem i nettverket. Varsel: vanlig DHCP-tjener i et ikke-Skolelinux/Debian-edu-nettverk
=== Exception handling ===

=== Verification ===

=== Update configuration database ===

== Firewall as a DHCP server (Coyote) ==

User case: Want to set up a good DHCP server with high stability regardless of operating the network. Notification: normal DHCP server in a non-Skolelinux/Debian-edu network
Line 509: Line 509:
Coyote Linux er en god løsning om man bare trenger en DHCP-tjener på nettverket uavhengig av hva slags maskiner som brukes, være seg Linux, Windows eller Mac.

Den eneste tingen som må konfigureres anderledes, er å skru på DHCP-tjeneren. < FIXME: lag lenke til skjermbilde>

En kort oppsummering om å gjøre om Coyote Linux til DHCP-tjener:

'''Coyote Linux som en standard DHCP-tjener'''

 * Husk √• svar ¬´Yes¬ª p√• sp√∏rsm√•let ¬´Do you want to enable the Coyote DHCP-server [y/n]:¬ª
 * Straks en DHCP-tjener kj√∏rer p√• Coyote Linux, m√• man sannsynligvis bruke en annen adresse √• logge p√• den, om man ikke endret noe p√• LAN-oppsettet:
Coyote Linux is a good solution if you just need a DHCP server on the network regardless of what type of machines, be it Linux, Windows or Mac.

The only thing needing to be configured differently, is to enable the DHCP server. < FIXME: create link to screenshot>

A brief summary of changing a Coyote Linux to a DHCP-server:

'''Coyote Linux as the default DHCP server'''

 * Remember to answer "yes" on the question "Do you want to enable the Coyote DHCP-server [y/n]:"
 * Once a DHCP server runs on Coyote Linux, you will probably need to use a different address for login, if you did not change the LAN setup:
Line 534: Line 534:
s√• b√∏r du bruke adressen 192.168.0.1 i steden for 10.0.2.1 n√•r man logger inn p√• Coyote Linuxs vev-administrasjon. Se [[#ExtraConfiguration--clgui|Seksjon 3.7]] og then you should use the address 192.168.0.1 instead of 10.0.2.1 when logging into the Coyote Linux web administration. See [[#ExtraConfiguration--clgui|Section 3.7]] and
Line 545: Line 545:
== Coyote brannmur og Internett-operat√∏rer ==

Brukertilfelle: Vi har en brannmur med Coyote Linux. Lar den seg koble til vår Internett-leverandør?
== Coyote firewall and Internet operators ==

User Case: We have a firewall with Coyote Linux. Allows itself to connect to our ISP?
Line 551: Line 551:
Notat: Det har enda ikke vært en situasjon hvor Coyote ikke virker mot Internett-leverandører i Norge. Fortell oss om du har erfart problemer med en.

Dette er en liste med Internett-tilbydere som fungerer godt med Coyote Linux
Note: It has not yet been a situation where Coyote does not work against ISPs in Norway. Tell us if you've experienced problems with one.

This is a list of Internet providers that works well with Coyote Linux
Line 559: Line 559:
 * Utdanningsetaten i Oslo (The Department of Education). Ikke testet p√• skoler koblet til Simens sin InnsIKT-l√∏sning for Oslo-skolene

Grunnet anderledes nettverkspolitikk på Utdanningsetaten i Oslo ''må'' man gjøre følgende endringer på [[#ExtraConfiguration--mainserver|hovedtjeneren]]:

Endre f√∏lgende i filen `/etc/bind/named.conf` [[#ExtraConfiguration--FTN.AEN983|[5]]]
 * The Department of Education in Oslo. Not tested on schools connected Simen's InnsIKT-solution for Oslo schools

Due different network policies in The Department of Education in Oslo''must'' you make the following changes in [[#ExtraConfiguration--mainserver|the main server]]:

Change the following in the file`/etc/bind/named.conf` [[#ExtraConfiguration--FTN.AEN983|[5]]]
Line 575: Line 575:
endre dette til change this to
Line 579: Line 579:
        // By special request from the good people inside the Dept of Education in
        // Oslo:
                193.156.192.40;
                193.156.192.50;
        // Dept. of Education in Oslo end of block
        // 0.0.0.0;
           };
// By special request from the good people inside the Dept of Education in
// Oslo:
193.156.192.40;
193.156.192.50;
// Dept. of Education in Oslo end of block
// 0.0.0.0;
};
Line 589: Line 589:
Gjør du ikke dette vil man ikke være i stand til å koble utstyret til Internett som skyldes problemer med navnetjeneren (DNS) hos Utdanningsetaten i Oslo. Driftspersonalet vil også engasjere flere til å få dette endret til slik etaten vil ha det. If you don't do this, you one will not be able to connect to the Internet due to problems with the name server (DNS) in The Department of Education in Oslo. Operating staff will also engage more people to get this changed to such as this service want it.
Line 594: Line 594:
 * Oslo University College (H√∏gskolen i Oslo)

Her må man gjøre samme bind-endringer som for Utdanningsetaten i Oslo.

=== Hadling of exceptions ===
 * Oslo University College (Høgskolen i Oslo)

You must make the same bind-changes as the Department of Education in Oslo.

=== Exception handling ===
Line 645: Line 645:
=== Hadling of exceptions === === Exception handling ===
Line 659: Line 659:
Nettverkskot med typebetegnelsen 3c509 fra 3Com har vært en svært populær serie. Flere har Coyote Linux med slike nettverkskort produsert i f.eks. 1989, snart 20 år siden. Vi har kjørt disse kortene i tre år med Coyote brannmur uten problemer. Straks man har fått kortene opp å kjøre, vil de sannsynligvis kjøre i lang tid. Men det er noen ganger vanskelig å få kortene til å virke. Dette er fordi de har ISA-buss. Det betyr at viktige adresser (IO) og avbruddsmeldinger (IRQ) må håndteres manuelt. Dette gjøres helt automatisk med PCI-kort. Men bruker man ISA-kort krever det ekstra innsats. IO og IRQ på disse kortene kan håndteres av et gammelt DOS-program. Dette kan være litt vanskelig å få tak i, siden dette er nesten 20 år gammel programvare.

DOS-programmet for oppsett kalles `3c5x9cfg.exe`, og det brukes på følgende måte:
Network cards with the type designation 3c509 from 3Com, has been a very popular series. Several have Coyote Linux with such network produced for example in 1989, almost 20 years ago. We've run these cards in three years with Coyote firewall without any problems. Once you have managed to get them running, they will probably run for a long time. But it is sometimes difficult to get the cards to work. This is because they have an ISA bus. This means that important addresses (IO) and termination messages (IRQ) must be handled manually. This is done automatically with PCI cards. But using one ISA card requires extra effort. IO and IRQ on these cards can be handled by an old DOS program. This can be somewhat difficult to obtain, since this is almost 20 years old software.

The DOS configuration program is called `3c5x9cfg.exe`, and it is used in the following way:
Line 664: Line 664:
 1. As soon as the machine is booted using DOS, insert a diskett with the program <code>3c5x9cfg.exe</code>. Run the program 3c5x9cfg.exe from the command line in DOS.  1. As soon as the machine is booted using DOS, insert a diskett with the program `3c5x9cfg.exe`. Run the program 3c5x9cfg.exe from the command line in DOS.
Line 667: Line 667:
`3c5x9cfg.exe` can be found at Ruprecht-Karls-Universit√§t Heidelberg: [http://www.urz.uni-heidelberg.de/Netzdienste/nm/misc/3comnic/ ] `3c5x9cfg.exe` can be found at Ruprecht-Karls-Universität Heidelberg: [http://www.urz.uni-heidelberg.de/Netzdienste/nm/misc/3comnic/ ]
Line 671: Line 671:
=== Hadling of exceptions ===

Varsel: Flere rapporter viser at det er problemer med å bruke to 3c509-kort på samme maskin om ett av kortene er av combo-typen. Det er en korttype med forskjellige typer nettverkskontakter.
=== Exception handling ===

Alert: Many reports show problems with using two 3c509 card on the same machine if one of the cards is a combo type. This is a card type with different types of networking contacts.
Line 683: Line 683:
Brukertilfelle: Jeg har ikke fått nok hjelp om bruk av brannmuren på disse sidene. Hvor får jeg mere hjelp? User case: I have not got enough help on using the firewall on these pages. Where can I get more help?
Line 694: Line 694:
=== Hadling of exceptions === === Exception handling ===
Line 702: Line 702:
Brukertilfelle: Hva √∏nskes konfigurert User case: What's shoud be configured
Line 706: Line 706:
=== Hadling of exceptions ===

=== Verification ===

=== Update configuration database ===
=== Exception handling ===

=== Verification ===

=== Update configuration database ===

Extra configurations

?/!\ Graphics in the document must be inserted and updated

Simple firewall

Debian Edu's architecture suits for both centralized operations, with the placement of services centrally and can be operated locally at each school. A firewall makes it easier to start with Debian Edu's if you want to try out a small installation.

Simple firewall with floppy (Coyote)

User Case: To get started with Debian Edu's we need to make a simple firewall. The purpose is to divide Debian Edu's network from the second network that is set up.

Main author Klaus Ade Johnstad

  • Regardless of whether you choose to Coyote Linux floppy on a Linux or Windows machine, the following configuration must be used. This applies to any other firewall router than Coyote Linux
  • Local interface:

     IP Address: 10.0.2.1
Netmask:  255.255.254.0
Broadcast: 10.0.3.255
Network: 10.0.2.0
  • Install the Big Pond login software? [y/n]:n

Press "n"

his refers to some extra stuff you need if you want to access from the provider Big Pond, but are not sure. Is there anyone who knows?

  • Do you want to enable the Coyote DHCP-server [y/n]: n

Press "n"

  • Use 10.0.2.2 as syslog server. This is the IP address of the main server

Warning: Since Skolelinux/Debian-Edu already has a DHCP server running, you must disable the DHCP server on your firewall/router. The same applies to all other machines that may be connected to a Skolelinux/Debian-Edu network. Having two DHCP servers on the same network is usually only trouble

Eksisterer en ny utgave av Coyote Linux når dette leses, kan den erstatte versjon 2.24 med kommandoene over med versjonsnummeret som ble lastet ned.

  1. After Coyote Linux is downloaded, the files must be unpacked. One must be the root user to unpack.

tar zvxf coyote-2.24.tar.gz

cd coyote

./makefloppysh

  1. When creating Coyote Linux on a Linux machine, one need to answer several questions. Here is a summary of the answers that can be supplied:

a.   Coyote floppy builder script v2.9

    Please choose the desired capacity for the created floppy:
    1) 1.44MB (Safest and most reliable but may lack space needed for
           some options)
    2) 1.68MB (Good reliability with extra space) - recommended
    3) 1.72MB (Most space but may not work on all systems or with all
           diskettes)

    Enter selection:2

The choice recommended is «1.68MB»

b.   Please select the type of Internet connection that your system uses.

    1) Standard Ethernet Connection
    2) PPP over Ethernet Connection
    3) PPP Dialup Connection\n\nEnter Selection:

Here it is best to select 1)

c.   Configuring system for Ethernet based Internet connection.
    By default, Coyote uses the following settings for the local network
    interface:

    IP Address: 192.168.0.1
    Netmask:    255.255.255.0
    Broadcast:  192.168.0.255
    Network:    192.168.0.0

    Would you like to change these settings? [Y/N]: y
    Enter local IP Address [192.168.0.1]: 10.0.2.1
    Enter local Netmask [255.255.255.0]: 255.255.254.0
    Enter local Broadcast [192.168.0.255]: 10.0.3.255
    Enter local network number [192.168.0.0]: 10.0.2.0

These network settings for local network must be changed. SeeA

   IP Address: 10.0.2.1
    Netmask:    255.255.254.0
    Broadcast:  10.0.3.255
    Network:    10.0.2.0

e.   Does your Internet connection get its IP via DHCP? [y/n]:

Answer yes(y) or no(n) in accordance with what is the network configuration.

Getting IP via DHCP, you fill in the following information:

   Please enter the information for your static IP configuration
    Internet IP Address:\nInternet Subnet Mask [255.255.255.0]:
    Internet Broadcast [Enter = Default]:
    Internet Gateway Address:
    Domain Name:
    DNS Server 1:

    DNS Server 2 (optional):
  • Enter your DHCP hostname:

Usually, this one can be blank

  • Install the Big Pond login software? [y/n]:

We think this refers to some extra stuff that comes from the provider Big Pond, but is not sure. Is there anyone who knows send us an email.

h.   Do you want to enable the Coyote DHCP server? [y/n]: n

Here must the answer be «n»!

i.   If you don't know what a DMZ is, just answer NO\nDo you want to configure a De-Militarized Zone? [Y/N]: n

Just choose "n"

j. You now need to specify the module name and parameters for your
  network cards.

  If you are using PCI or EISA cards, leave the IO and IRQ lines
  blank.

  Enter the module name for you local network card:

This is the tricky part. Knowing which module to use for network cards is sometimes difficult. See Section 3.12 to get an overview of the available modules. Remember to not use .o at the end of the module name. Use only "first name" on the module.

Many prefer 3Com. Almost all use this module 3c59x.

k.   The default language of the Coyote Web Administrator is English
    Do you like to configure a different language ? [Y/N]: n

Use English. It is much easier to get help. Search for example using Google to find solution to problems.

l.   Syslog server address:

Here you can use the main server as syslog server. Use 10.0.2.2

  1. You must insert a floppy disk in the machine. Remember to turn the write protection. It takes a few minutes to write to the disk.
  2. Be sure it does not get any error messages to unknown NIC modules, like this:

    Checking module deps for (wrong,bad)...
    Copying module: drivers/wrong.o

    Unable to copy module (drivers/wrong.o): No such file or directory

Be sure you get something like this instead:

   Checking module deps for (e100,3c59x)...
Module 3c59x dep =
Module e100 dep =
Copying module: drivers/e100.o
Copying module: drivers/3c59x.o

Solution 2 Create a Coyote Linux Floppy on a Windows machine

To create a floppy on a Windows machine is done almost the same way as on Linux.

Download the source files for Windows. They can be obtained from [http://www.coyotelinux.com/downloads/channel.php?ChannelID=5 Disk Creation Wizard v2.24.0]

Figur 3-2. Coyote Linux Windows Creator Welcome Image

  • [ATTACH]

Here you can just press "Next"

Figure 3-3. Local LAN network setup

  • [ATTACH]

Fill in necessary network information here: See A

Fill in the correct IP address and subnet mask (Netmask) and Coyote Linux will give the correct calculation of broadcast address (Broadcast) and URL (Network)

Figure 3-4. Insert a password on the Coyote Linux Floppy

  • [ATTACH]

Without this password you can't log into the Coyote Linux on a later occasion. See Section 3.6

Figur 3-5. Syslog-server

  • [ATTACH]

Leave the field blank, or look at 2.l

Figure 3-6. Type of Internet connection (WAN)

  • [ATTACH]

Choose what suits you. Do you have access to DHCP server, which is very likely, then you do not need more information.

Figure 3-7. Firm IP configuration

  • [ATTACH]

Do you have a fixed address, fill in the appropriate values here.

Figure 3-8. Do not enable the Coyote Linux DHCP server!

  • [ATTACH]

Do not turn on the Coyote Linux DHCP server. There is already one running on main server

Figure 3-9. Select a driver module for the network card (NIC)

  • [ATTACH]

Drag and drop to choose the correct network card at the Coyote Linux machine.

This particular screen uses the module for 3Com on the LAN side of the grid (Debian Edu's) and Intel pro 100 card for WAN (Internet) connection.

Figure 3-10. Select language

  • [ATTACH]

If you want to get good support from the Internet, choose English.

Figure 3-11. Make the disc

  • [ATTACH]

Place a floppy disk in the disc station and press 'Next'.

Exception handling

Our clear advice is to make at least two copies of the floppy disk. It is nice to a couple copies ready if anything should happen.

Verification

< FIXME>

Update configuration database

Simple firewall with CD

User Case: To get started with Debian Edu's we need to make a simple firewall. The purpose is to divide Debian Edu's network from the second network that is set up.

Main author Klaus Ade Johnstad

Solution

Coyote Linux is a product in constant development and maintenance. Just like Skolelinux / Debian-edu. Meaning that new versions are released constantly, with new features and security fixes. Especially due to security fixes, you should always use the latest stable version of Coyote Linux

Since Coyote Linux runs solely from floppy, there is no system to upgrade. You must create a new floppy as described in Section 3.3. To make this process as simple as possible, there are some things to remember.

  1. Find out what kind of network you have. If this is unknown, one can use the command lsmod to list all loaded modules (drivers) in use. Maybe this will give an idea of what kind of network cards in use.

coyote# lsmod
Module                  Size  Used by
3c509                   7732   2
ip_nat_quake3           1768   0 (unused)
ip_nat_mms              2608   0 (unused)
ip_nat_h323             2060   0 (unused)
ip_nat_amanda            876   0 (unused)
ip_nat_irc              1904   0 (unused)
ip_nat_ftp              2384   0 (unused)
ip_conntrack_quake3     1848   1
ip_conntrack_mms        2704   1
ip_conntrack_h323       2065   1
ip_conntrack_egg        2280   0 (unused)
ip_conntrack_amanda     1488   1
ip_conntrack_irc        2672   1
ip_conntrack_ftp        3440   1

In this list of modules loaded for the network card 3com509 in place twice. For a list of available modules, look at

It will be best to write down at the machine itself what kind of network card is are in it.

  1. What kind of "port forwarding" is it?

Information about the "port forwarding" rules, if you have made any, is in the file/etc/coyote/portforwards

   coyote# more /etc/coyote/portforwards\nport Y 10.0.2.2 tcp 2333 22 # Example - Secondary SSH

Exception handling

Verification

Update configuration database

Starting the Coyote firewall

User case: After a simple firewall is installed, it shall be installed in the network and be effective.

Author: Klaus Ade Johnstad.

Solution

There are two network cards in Coyote Linux, one (LAN) is connected to the Skolelinux/Debian-edu server, the other is connected with a crossed cable, or via a switch to another network (WAN). Sometimes it can be a bit difficult to decide which network card is which, especially if they are both connected to the same address. The method we use to determine which card is which, is to use a crossed cable and connect it to the network card in the Skolelinux/Debian-edu main server.

  1. First you start Coyote Linux without any cable network card
  2. Then use the crossed cable to connect Coyote Linux with the Skolelinux / Debian-edu main server (make sure it goes to the NIC labeled eth0 if the main server is a combined server).
  3. Login to the main server. Try to use pingel the Coyote Linux machine. Use the command ping -c10 10.0.2.1, or alternatively, try to ping the main server from Coyote Linux command ping -c10 10.0.2.2.

  4. Then you get a response like this if it works:

ping -c10 10.0.2.1
PING 10.0.2.1 (10.0.2.1): 56 data bytes
64 bytes from 10.0.2.1: icmp_seq=0 ttl=63 time=0.6 ms
64 bytes from 10.0.2.1: icmp_seq=1 ttl=63 time=0.3 ms
64 bytes from 10.0.2.1: icmp_seq=2 ttl=63 time=0.3 ms

Then you have found the network card on the Coyote Linux that must be labeled LAN. Then we know that the other network card is WAN. This procedure will only work as long as the network cards on LAN is set up properly. As shown during startup on the line

LAN network: UP

What is shown is normally

WAN network: 
down

Since you have started without any cables in the network card.

When the role of each of the network cards is decided, it is time to reboot the firewall with all the cables in place.

Different names on the network cards

The two network cards got two different names in Coyote Linux. This is a bit confusing and not very consistent. Here is a summary:

The various names used for network cards in Coyote Linux

This is connected to the existing network

Internet

Eth1

WAN

This go to the Debian Edu network

LAN network

Eth0

LAN

Reboot the Coyote Linux machine and make sure the Coyote Linux floppy disk is present in the floppy station. Enssure that the machine is configured to boot from floppy drive.

Figure 3-12. Coyote Linux Login

  • [ATTACH]

You can login. Use the username "root" and the password you set when you created the floppy (if this was done from Windows). or pressEnter (blank password) for logging on floppy disk created by Linux

Note: It is normal that it does not follow with any feedback when you taste a password in a Linux system. This is to reveal as little as possible for the password.

Exception handling

meny, menu, status of the network, down

  • [ATTACH]

Once you have entered, press 'c' to get the status of the network. In case there is a problem:

Figure 3-14. menu, status of network, up

  • [ATTACH]

If everything went well, both will be "up"

Q: It looks like the network card (LAN) going to to the Skolelinux/Debian-edu network is not working: DOWN

Q: It looks like the network card (WAN) connected to the Internet, is not working: DOWN

Q: We have set up firewalls with many different driver modules for many network cards. We have yet to find something not working properly.

Q:It looks like the network card (LAN) going to to the Skolelinux/Debian-edu network is not working: DOWN

A:Did you set up your network card according to the A, but still do not work. You may have chosen the wrong driver for your network card

Q:It looks like the network card (WAN) connected to the Internet, is not working: DOWN

A:There are usually two reasons why the WAN network card is not up (UP):

  1. You use a connection with the wrong Internet connection. So you have to look anew at 2.b

If you have a connection with a DHCP-assigned address, which is not static. Then it must be a physical connection with a network between Coyote Linux and the net contact

  1. You have chosen the wrong driver module for this network card.

You should attempt to login to Coyote Linux and choose q) quit to go out of Coyote Linux menu. So you should run the command

dmesg|more

so use mellomrom to scroll. Look for references to eth0 and eth1. Look at Different names to the network cards for a reminder of what eth0 and eth1 means. Usually it is an indicator of what the problem is.

Q:We have sat up firewalls with many different driver modules for many network cards. We have yet to find any not working properly.

A:Do you have you looked at this site for more information about network card and corresponding driver modules for Coyote Linux? [http://www.dalantech.com/ http://www.dalantech.com]

Verification

The firewall works if you enter the Internet browser via the main server or a connected client.

Update configuration database

Administration of firewall in browser (Coyote)

User Case: We need to change the settings in the firewall. The firewall is locked in the computer room. May I make the change over the network.

Author: Klaus Ade Johnstad.

Co-author: Knut Yrvin

Coyote Linux has a pretty and a functioning administration tool via a website. Here you can do it all. Write [http://10.0.2.1:8180/ http://10.0.2.1:8180] in the address field of your browser. The address will provide web administration for Coyote Linux. Click on the link and enter your user name root and password you created for the firewall.

Coyote Linux web administration

  • [ATTACH]

All options and settings can be done in Main Menu on the left side.

Coyote Linux Main Menu

  • [ATTACH]

  • Information

Choosing this, gives the status of your network cards, IP addresses in place, uptime for Coyote Linux, Ist and the like.

  • LAN setup

Here you have the possibility to reconfigure the LAN network card. It goes to the Skolelinux/Debian-edu network. Leave the values as they are. Refering to A.

Warning: Do not make changes here! Doing so may reduce the performance of Skolelinux/Debian-edu network

< FIXME: Should describe the contents of change_ip_setup her, senere>

  • Internet setup

Here you have the possibility of changing the values in WAN network card connecting to the Internet. If you have got a new ISP, or change a dynamically assigned by DHCP to a fixed IP address, this is the place to change the information without the need of creating a new Coyote Linux floppy from scratch. See 2.b

  • DHCP setup. Warning: Do not enable the DHCP server in Coyote Linux!

This provides the posibility to configure DHCP server as part of Coyote Linux

  • Administrative settings

Her kan man skru på og av tjenester som navnetjener (DNS), ssh og vev-admin.

  • Port Forwarding

Here you may change and enable port forwarding in Coyote Linux. This is a neat feature in a Skolelinux/Debian-edu network. Since Coyote Linux stops and blocks most connections for example ssh, it's nice to use port forwarding. This is a way to let ssh connections through Coyote Linux to a Skolelinux/Debian-edu- network.

Use this rule for port forwarding

   Yes         TCP         Any         22         10.0.2.2         22         No           SSH straight into Mainserver

all ssh-connections coming to Coyote Linux will be forwarded to the Skolelinux/Debian-edu main server. You need to decide if this is desired.

  • Simplified firewall configuration

Here you can set up and configure the firewall rules in Coyote Linux. There are many rules ready to use and can be used as an example.

  • Advanced firewall configuration
  • QOS configuration

Here you can set up restrictions on network capacity

  • System password

Here you may change the root password i Coyote Linux, also known as system password. This is the same as using the command line Section 3.6.

  • Configuration files

These are files that contain all settings.

  • Diagnostic tools

Here you will find useful tools like ping, testing ports (gateway), testing nameserver (DNS), and the status of the network.

  • Backup now

Are there any changes Coyote Linux must these be saved on the diskette. By selecting Main Menu in Coyote Linux users can choose to save the setup. The alternative is that all changes are lost when you reboot Coyote Linux

  • Reboot the system

When you need to start the Coyote Linux again this can be done from the "Main Menu". When choosing restart this must be confirmed.

Restart or turn off Coyote Linux?

  • [ATTACH]

Exception handling

Verification

Update configuration database

Firewall as a DHCP server (Coyote)

User case: Want to set up a good DHCP server with high stability regardless of operating the network. Notification: normal DHCP server in a non-Skolelinux/Debian-edu network

Author: Klaus Ade Johnstad.

Coyote Linux is a good solution if you just need a DHCP server on the network regardless of what type of machines, be it Linux, Windows or Mac.

The only thing needing to be configured differently, is to enable the DHCP server. < FIXME: create link to screenshot>

A brief summary of changing a Coyote Linux to a DHCP-server:

Coyote Linux as the default DHCP server

  • Remember to answer "yes" on the question "Do you want to enable the Coyote DHCP-server [y/n]:"

  • Once a DHCP server runs on Coyote Linux, you will probably need to use a different address for login, if you did not change the LAN setup:

Configuring system for Ethernet based Internet connection


By default, Coyote uses the following settings for the local network
interface:

IP Address: 192.168.0.1
Netmask:    255.255.255.0
Broadcast:  192.168.0.255
Network:    192.168.0.0

Would you like to change these settings? [Y/N]: n

then you should use the address 192.168.0.1 instead of 10.0.2.1 when logging into the Coyote Linux web administration. See Section 3.7 and

In this case the new address is:

Verification

Update configuration database

Coyote firewall and Internet operators

User Case: We have a firewall with Coyote Linux. Allows itself to connect to our ISP?

Author: Klaus Ade Johnstad.

Note: It has not yet been a situation where Coyote does not work against ISPs in Norway. Tell us if you've experienced problems with one.

This is a list of Internet providers that works well with Coyote Linux

  • Nextgentel, Norway
  • Tele2 ADSL Privat, Norway
  • Tele2 ADSL Bedrift, Norway
  • UPC Chello Classis, Norway
  • The Department of Education in Oslo. Not tested on schools connected Simen's InnsIKT-solution for Oslo schools

Due different network policies in The Department of Education in Oslomust you make the following changes in the main server:

Change the following in the file/etc/bind/named.conf [5]

       // forwarders {
        // By special request from the good people inside the Dept of Education in
        // Oslo:
        //      193.156.192.40;
        //      193.156.192.50;
        // Dept. of Education in Oslo  end of block
        //      0.0.0.0;
        // };

change this to

          forwarders {
// By special request from the good people inside the Dept of Education in
// Oslo:
193.156.192.40;
193.156.192.50;
// Dept. of Education in Oslo end of block
//      0.0.0.0;
};

This mean to remove the comment marker (#) in front of "forwarders".

If you don't do this, you one will not be able to connect to the Internet due to problems with the name server (DNS) in The Department of Education in Oslo. Operating staff will also engage more people to get this changed to such as this service want it.

After the change is inserted in /etc/bind/named.conf one need to restart bind with service bind9 restart

  • Telenor ADSL, Norway
  • Oslo University College (Høgskolen i Oslo)

You must make the same bind-changes as the Department of Education in Oslo.

Exception handling

Verification

Update configuration database

Support for network cards in the firewall

Use case: Are the two network cards in the machine supported by Coyote?

Author: Klaus Ade Johnstad.

This is a list of modules included in Coyote Linux. All driver modules for network cards are listed.

tjener:~/coyote# ls  data/kernel/drivers/
3c501.o     eth16i.o               ne.o
3c503.o     ewrk3.o                ni5010.o
3c505.o     fealnx.o               ni52.o
3c507.o     forcedeth.o            ni65.o
3c509.o     hp100.o                pcnet32.o
3c515.o     hp.o                   ppp_async.o
3c59x.o     hp-plus.o              ppp_deflate.o
8139cp.o    ip_conntrack_amanda.o  ppp_generic.o
8139too.o   ip_conntrack_egg.o     pppoe.o
82596.o     ip_conntrack_ftp.o     pppox.o
8390.o      ip_conntrack_h323.o    ppp_synctty.o
ac3200.o    ip_conntrack_irc.o     sch_htb.o
amd8111e.o  ip_conntrack_mms.o     sch_ingress.o
at1700.o    ip_conntrack_quake3.o  sch_sfq.o
b44.o       ip_conntrack_rtsp.o    sis900.o
bridge.o    ip_conntrack_tftp.o    slhc.o
bsd_comp.o  ip_nat_amanda.o        smc9194.o
cls_fw.o    ip_nat_cuseeme.o       smc-ultra.o
cls_u32.o   ip_nat_ftp.o           softdog.o
cs89x0.o    ip_nat_h323.o          starfire.o
de4x5.o     ip_nat_irc.o           sundance.o
depca.o     ip_nat_mms.o           tlan.o
dgrs.o      ip_nat_quake3.o        tulip.o
dmfe.o      ip_nat_rtsp.o          typhoon.o
e100.o      ip_nat_tftp.o          via-rhine.o
e2100.o     lance.o                wd.o
eepro100.o  lp486e.o               winbond-840.o
eepro.o     mii.o                  zlib_deflate.o
eexpress.o  natsemi.o              zlib_inflate.o
epic100.o   ne2k-pci.o

Exception handling

Verification

Update configuration database

Particularly old network cards in the firewall (ISA)

Use case: We want to try to use some network cards in the firewall that is almost 20 years old. They are using the so called ISA bus. Is this possible?

Author: Klaus Ade Johnstad.

Co-author: Knut Yrvin

Network cards with the type designation 3c509 from 3Com, has been a very popular series. Several have Coyote Linux with such network produced for example in 1989, almost 20 years ago. We've run these cards in three years with Coyote firewall without any problems. Once you have managed to get them running, they will probably run for a long time. But it is sometimes difficult to get the cards to work. This is because they have an ISA bus. This means that important addresses (IO) and termination messages (IRQ) must be handled manually. This is done automatically with PCI cards. But using one ISA card requires extra effort. IO and IRQ on these cards can be handled by an old DOS program. This can be somewhat difficult to obtain, since this is almost 20 years old software.

The DOS configuration program is called 3c5x9cfg.exe, and it is used in the following way:

  1. Start the machine with DOS. One can use FreeDOS or a boot floppy created with Windows 95 or 98.
  2. As soon as the machine is booted using DOS, insert a diskett with the program 3c5x9cfg.exe. Run the program 3c5x9cfg.exe from the command line in DOS.

  3. When 3c5x9cfg.exe is started, each of the 3c509 network cards can be configured with the "auto" option

3c5x9cfg.exe can be found at Ruprecht-Karls-Universität Heidelberg: [http://www.urz.uni-heidelberg.de/Netzdienste/nm/misc/3comnic/ ]

FreeDOS can be found on: [http://www.freedos.org/ ]

Exception handling

Alert: Many reports show problems with using two 3c509 card on the same machine if one of the cards is a combo type. This is a card type with different types of networking contacts.

Do not use combo type ISA bus cards!

Verification

Update configuration database

User case: I have not got enough help on using the firewall on these pages. Where can I get more help?

Author: Klaus Ade Johnstad.

Co-author: Knut Yrvin

Exception handling

Verification

Update configuration database

Config:

User case: What's shoud be configured

Solution

Exception handling

Verification

Update configuration database