View previous topic :: View next topic |
Author |
Message |
angela Apprentice
Joined: 16 Feb 2005 Posts: 150
|
Posted: Thu May 03, 2007 12:29 pm Post subject: [iptables] iptables table `nat': does not exist :( |
|
|
Salut,
j'ai upgradé mon kernel, je suis actuellement au 2.6.20-gentoo-r7, et voilà que sous le 2.6.19 le nat fonctionnait bien, maintenant il me met l'erreur (horreur ?) suivante:
Code: | # iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
|
c'est donc UNIQUEMENT le mode -t nat qui ne fonctionne pas, le reste fonctionnant bien.
Code: |
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_IP_NF_CONNTRACK_SUPPORT is not set
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
# IP: Netfilter Configuration
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
# CONFIG_IP_NF_MATCH_AH is not set
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# TIPC Configuration (EXPERIMENTAL)
# CONFIG_TIPC is not set
# CONFIG_IPX is not set
CONFIG_IEEE80211_CRYPT_TKIP=m
# CONFIG_IDE_CHIPSETS is |
Code: | # lsmod
Module Size Used by
ip_tables 9416 0
wlan_wep 5760 1
fglrx 648156 11
ibm_acpi 28312 0
backlight 4224 1 ibm_acpi
wlan_scan_sta 10240 1
ath_rate_sample 10752 2
radeonfb 88896 0
fb_ddc 2048 1 radeonfb
ath_pci 78368 0
wlan 166084 6 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 189520 4 ath_rate_sample,ath_pci
snd_intel8x0 26268 0
snd_intel8x0m 13196 0
snd_ac97_codec 84384 2 snd_intel8x0,snd_intel8x0m
ac97_bus 2048 1 snd_ac97_codec
ehci_hcd 36236 0
yenta_socket 21260 1
rsrc_nonstatic 9856 1 yenta_socket
pcmcia_core 29328 2 yenta_socket,rsrc_nonstatic
uhci_hcd 25872 0
usbcore 109336 3 ehci_hcd,uhci_hcd
|
Merci beuacoup |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Thu May 03, 2007 12:47 pm Post subject: |
|
|
Je pencherais méchamment pour la conf du kernel ... depuis la 17 ou 18, ils s'amusent à bouger sans arrêt les confs de routing ...
T'as fait un petit menuconfig et fouillé un peu un NAT qui se balade quelque part? |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Thu May 03, 2007 1:16 pm Post subject: |
|
|
Je plussoye Temet : j'ai eu un problème analogue il y a quelques jours. Certaines options ont été déplacées et le "make oldconfig" s'emmêle un peu les pinceaux
A ma connaissance, pas d'autre solution que de passer en revue la config du kernel au niveau networking. |
|
Back to top |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Thu May 03, 2007 3:15 pm Post subject: |
|
|
Temet wrote: | Je pencherais méchamment pour la conf du kernel ... depuis la 17 ou 18, ils s'amusent à bouger sans arrêt les confs de routing ...
T'as fait un petit menuconfig et fouillé un peu un NAT qui se balade quelque part? |
C'est vrai que c'est limite gavant
Il devrait sortir les modules iptables du kernel et tout fournir avec iptables, comme ALSA (pour nous ca serait sympa avec des USE pour activer les modules kernels que l'on souhaite lors de l'emerge d'iptables ^^) _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
|
-KuRGaN- Veteran
Joined: 05 Dec 2004 Posts: 1142 Location: Besançon (25) [FRANCE]
|
Posted: Thu May 03, 2007 3:24 pm Post subject: |
|
|
CryoGen wrote: | Temet wrote: | Je pencherais méchamment pour la conf du kernel ... depuis la 17 ou 18, ils s'amusent à bouger sans arrêt les confs de routing ...
T'as fait un petit menuconfig et fouillé un peu un NAT qui se balade quelque part? |
C'est vrai que c'est limite gavant
Il devrait sortir les modules iptables du kernel et tout fournir avec iptables, comme ALSA (pour nous ca serait sympa avec des USE pour activer les modules kernels que l'on souhaite lors de l'emerge d'iptables ^^) |
Ca ferait un paquet de uses pour iptables à gérer pour iptables _________________ Knight Gent00 Industries RiDeR !!!! |
|
Back to top |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Thu May 03, 2007 3:50 pm Post subject: |
|
|
-KuRGaN- wrote: | CryoGen wrote: | Temet wrote: | Je pencherais méchamment pour la conf du kernel ... depuis la 17 ou 18, ils s'amusent à bouger sans arrêt les confs de routing ...
T'as fait un petit menuconfig et fouillé un peu un NAT qui se balade quelque part? |
C'est vrai que c'est limite gavant
Il devrait sortir les modules iptables du kernel et tout fournir avec iptables, comme ALSA (pour nous ca serait sympa avec des USE pour activer les modules kernels que l'on souhaite lors de l'emerge d'iptables ^^) |
Ca ferait un paquet de uses pour iptables à gérer pour iptables |
Bah oui ou alors comme pour Xorg, on crée des variables gentre IP_TABLE IP_TRACK ... enfin je pense qu'il y a des solutions (puis quand on voit le paquet de USE qu'on certains ebuilds style ffmpeg/mplayer XD) _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
|
|