Shorewall: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Rkolga (talk | contribs)
No edit summary
Rkolga (talk | contribs)
No edit summary
Line 38: Line 38:
=Teenus (start/stop/restart/status)=
=Teenus (start/stop/restart/status)=


<pre> service shorewall start  - <b>teenuse käivitamine </b></pre>
<pre> service shorewall start  - <b>teenuse käivitamine </pre></b>
<pre> service shorewall stop    - <b>teenuse seiskamine </b></pre>
<pre> service shorewall stop    - <b>teenuse seiskamine </b></pre>
<pre> service shorewall restart - <b>teenuse taaskäivitamine </b></pre>
<pre> service shorewall restart - <b>teenuse taaskäivitamine </b></pre>

Revision as of 21:12, 9 April 2010


Autor: Ragnar Kolga - AK32


Sissejuhatus

Installeerimine

Debian, ...

 apt-get install shorewall 


Ubuntu, ...

 yum install 

RedHat, ...

 up2date -i 


Kopeerime näidis konfiguratsioonifailid /etc/shorewall kausta (Debian)

 cp /usr/share/doc/shorewall/default-config/* /etc/shorewall/ 


Konfigureerimine

Zones konfiguratsioonifail

Intrerfaces konfiguratsioonifail

Policy konfiguratsioonifail

Rules konfiguratsioonifail



Teenus (start/stop/restart/status)

 service shorewall start   - <b>teenuse käivitamine 
 service shorewall stop    - <b>teenuse seiskamine </b>
 service shorewall restart - <b>teenuse taaskäivitamine </b>
 service shorewall status  - <b>teenuse oleku kuvamine (iptables reeglid, loodud ja loomisel ühendused, ...) </b>


Probleemid

Kui shorewalli konfiguratsioonifailides on probleem, siis peaks vaatama logifaili

 less /var/log/shorewall-init.log 


Kokkuvõte

Kasutatud kirjandus