Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con iptables
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Tue Mar 11, 2003 2:13 pm    Post subject: problemi con iptables Reply with quote

Ciao a tutti.
Ho un problema con iptables.
Devo usarle per poter fare un NAT (masquerading) per connettermi ad internet da win tramite la linuxbox.
Allora, il problema è che quando faccio
Code:
#modprobe iptable_net

mi restituisce l'errore:
Code:
/lib/modules/2.4.20-gentoo-r1/kernel/ipv4/netfilter/ip_tables.o : unresolved symbol nf_unregister_sockopt
/lib/modules/2.4.20-gentoo-r1/kernel/ipv4/netfilter/ip_tables.o : unresolved symbol nf_register_sockopt
/lib/modules/2.4.20-gentoo-r1/kernel/ipv4/netfilter/ip_tables.o : insmod              /lib/modules/2.4.20-gentoo-r1/kernel/ipv4/netfilter/ip_tables.o  failed
/lib/modules/2.4.20-gentoo-r1/kernel/ipv4/netfilter/ip_tables.o : insmod iptable_nat failed

(bè, nn è proprio impaginato così)
A quanto ho capito mancano nf_unregister_sockopt e nf_register_sockopt, ma che sono???
Plz, help me!!!
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
PAMA
n00b
n00b


Joined: 11 Mar 2003
Posts: 1

PostPosted: Wed Mar 12, 2003 8:41 am    Post subject: Reply with quote

Il problema risiede nel fatto che inizialmente hai compilato il kernel.
Poi in un secondo momento hai aggiunto dei moduli o opzioni, ma non hai fatto un make clean quindi hai compilato dei moduli a cui mancano referenze.

Prova con:
make clean
make dep
....


Saluti,
Alberto
Back to top
View user's profile Send private message
Yans
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 171
Location: [TI] Switzerland

PostPosted: Wed Mar 12, 2003 6:18 pm    Post subject: Reply with quote

attenzione con il kernel 2.4.20 di gentoo , diversa gente ha avuto problemi con iptables e altri moduli che non si caricano la soluzione e passare al kernel vanilla .
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Wed Mar 12, 2003 10:31 pm    Post subject: Reply with quote

Quote:
Il problema risiede nel fatto che inizialmente hai compilato il kernel.
Poi in un secondo momento hai aggiunto dei moduli o opzioni, ma non hai fatto un make clean quindi hai compilato dei moduli a cui mancano referenze.

No, lo pensavo anch'io, quindi avevo già provveduto a ricompilare il kernel da capo.
Il problema ovviamente non si è risolto...
Cmq, passare a vanilla nn mi piace come soluzione, nn so xchè...
Però visto che nn ho niente da fare e nn ho altre soluzioni, mo ci provo.
Ciao a todos, vi faccio sapere...
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
contigab
n00b
n00b


Joined: 18 Dec 2002
Posts: 57
Location: Italy

PostPosted: Sun Mar 16, 2003 3:23 pm    Post subject: Reply with quote

prova a settare in /etc/conf.d/iptables la variabile ENABLE_IPV4_FORWARD a yes. Basta decommentare la riga, questo dovrebbe bastare ad ABILITARE (NON ATTIVARE) l'ip forwarding.

Successivamente devi settare il firewall con
-t nat -A POSTROUTING -s 192.168.xxx.xxx/32 -j MASQUERADING
_________________
Linux! :)
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Wed Mar 19, 2003 11:39 pm    Post subject: Reply with quote

Oki, ho messo il kernel vanilla (con le sezioni riguardanti iptables nn modulari) e funge.
Allora ho ricompilato il kernel gentoo con le opzioni di iptables nel kernel, risultato: dando iptables ecc.. mi da errore...
Quindi mi sa che resto con vanilla per ora...
Azz, ma sti kernel fanno veramente cacare...
Con la 2.4.19-rNunMeRicordo Gentoo e la 2.4.20 Vanilla avevo problemi col controller raid, suddetti problemi sono stati risolti con la 2.4.20 Gentoo, e mo quest'ultima versione del kernel mi da problemi con iptables???
Mah...
:(
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
JuradaXP
n00b
n00b


Joined: 19 Mar 2003
Posts: 16
Location: Jesolo

PostPosted: Thu Mar 20, 2003 1:01 pm    Post subject: Reply with quote

Yans wrote:
attenzione con il kernel 2.4.20 di gentoo , diversa gente ha avuto problemi con iptables e altri moduli che non si caricano la soluzione e passare al kernel vanilla .


azz, speriamo di no.. io ho emergeato proprio il 2.4.20r1 di gentoo e non il vaniglia e cioccolato!
_________________
http://knoppyx.da.ru (linux solo per neofiti) - http://sitone.da.ru (informatica VM18)
Back to top
View user's profile Send private message
enx89
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 192
Location: Milano

PostPosted: Fri Mar 21, 2003 8:27 pm    Post subject: Reply with quote

Anch'io ho avuto dei problemi con la serie 2.4.20 del kernel gentoo e iptables. Ho compilato tutto nel kernel, ma non riuscivo a fare SNAT.
Sono rimasto al 2.4.19-r10 della serie gentoo che va benissimo.:lol:
Ciao a tutti ENz
Back to top
View user's profile Send private message
Ibanez-RgX
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 165
Location: Rome

PostPosted: Sat Mar 22, 2003 12:54 pm    Post subject: Reply with quote

Io ho risolto i problemi tra 2.4.20-gentoo e iptables ricompilando iptables dopo aver compilato il nuovo kernel. All'inizio mi dava alcuni problemi con il natting, l'ho ricompilato ed è tornato a funzionare
Back to top
View user's profile Send private message
JuradaXP
n00b
n00b


Joined: 19 Mar 2003
Posts: 16
Location: Jesolo

PostPosted: Sat Mar 22, 2003 2:31 pm    Post subject: Reply with quote

Ibanez-RgX wrote:
Io ho risolto i problemi tra 2.4.20-gentoo e iptables ricompilando iptables dopo aver compilato il nuovo kernel. All'inizio mi dava alcuni problemi con il natting, l'ho ricompilato ed è tornato a funzionare


Ottimo a sapersi per quando metterò Gentoo anche sul Server...
_________________
http://knoppyx.da.ru (linux solo per neofiti) - http://sitone.da.ru (informatica VM18)
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
Page 1 of 1

 
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