Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Iptables e firestarter da zero...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Wed May 11, 2005 1:20 pm    Post subject: Reply with quote

signorsì!
agli ordini! 8)
Back to top
View user's profile Send private message
khris81
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 245

PostPosted: Mon May 16, 2005 12:11 am    Post subject: Reply with quote

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???? :(
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Mon May 16, 2005 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Mon May 16, 2005 6:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Mon May 16, 2005 8:11 pm    Post subject: Reply with quote

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!) :D
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue May 17, 2005 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
khris81
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 245

PostPosted: Tue May 17, 2005 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum