View previous topic :: View next topic |
Author |
Message |
Ciccio Bueo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/300546814436866c75fc5b.png)
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Wed May 11, 2005 1:20 pm Post subject: |
|
|
signorsì!
agli ordini! ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khris81 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 May 2005 Posts: 245
|
Posted: Mon May 16, 2005 12:11 am Post subject: |
|
|
flocchini wrote: | l'idea e': ti fai il tuo script con un editor di testo e lo lanci, poi fai rules-save in modo che vengano salvate dal sistema di inizializzazione di gentoo (per fare le cose "pulite") |
cosa dovrei scrivere iptables rules-save???? ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flocchini Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2121369000436c9f643de7a.gif)
Joined: 17 May 2003 Posts: 1124 Location: Milano, Italy
|
Posted: Mon May 16, 2005 12:14 pm Post subject: |
|
|
faii l tuo script e lo rendi eseguibile, lo lanci e verifichi che le tue regole ci siano (iptables -L). poi /etc/init.d/iptables save per salvare le regole secondo il metodo di gentoo e poterle ripristinare al riavvio con un semplice /etc/init.diptables start (o aggiungendo iptables al runlevel di default, decisamente piu' comodo) _________________ ~~ Per amore della rosa si sopportano le spine... ~~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon May 16, 2005 6:46 pm Post subject: |
|
|
Quote: | cosa dovrei scrivere iptables rules-save???? |
se usi rules-save ti basta dare un Code: | /etc/init.d/iptables restore | ed editi il file aggiungendo le regole esattamente come vengono processate dal firewall, nello stesso ordine, e con la sintassi di iptables-save
occhio che se vuoi modificare quel file devi mettere "save on stop = no" in /etc/conf.d/iptables |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ciccio Bueo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/300546814436866c75fc5b.png)
Joined: 19 Oct 2004 Posts: 834 Location: Treviso
|
Posted: Mon May 16, 2005 8:11 pm Post subject: |
|
|
xchris wrote: | configura il kernel con il supporto netfilter..
se sei indeciso se compilare o meno una voce inizia a metterla come modulo.
poi dovrai emerge iptables e shorewall.
Poi ne riparliamo
ciao |
installati! attendo istruzioni (quando hai tempo chiaramente!) ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Tue May 17, 2005 7:09 am Post subject: |
|
|
bene..
Per entare un po' nella logica di shorewall ti consiglio di leggere la breve guida che avevo fatto ai tempi.
E' molto semplicistica e semplice... (la trovi sul mio sitino...link in basso)
Poi sentiamoci via PM e IM per il resto
ciao _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khris81 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 May 2005 Posts: 245
|
Posted: Tue May 17, 2005 3:03 pm Post subject: |
|
|
ma nn esiste un modo x nascondere il mio ip???
xchris il tuo sito mi vede il mio ip, nn che mi dispiaccia ma il firewall nn dovrebbe nasconderlo???? se si come si fa??? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|