Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: [OPGELOST]ip6tables: No chain/target/match by that name  (gelezen 875 keer)

[OPGELOST]ip6tables: No chain/target/match by that name
« Gepost op: 2013/07/05, 18:29:39 »
Een week of twee geleden heb ik ip6tables geinstalleerd op een Debian 6.0 server.
Het ziet er zo uit:
    sudo ip6tables -A INPUT -i lo -j ACCEPT
    sudo ip6tables -A OUTPUT -j ACCEPT
    sudo ip6tables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    sudo ip6tables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
    sudo ip6tables -A INPUT -s 2001:7b8:2ff:469::/64 -j ACCEPT
    sudo ip6tables -A INPUT -s 2001:7b8:2ff:8469::/64 -j ACCEPT
    sudo ip6tables -A INPUT -p ipv6-icmp -j ACCEPT
    sudo ip6tables -A INPUT -j DROP

    sudo ip6tables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    sudo ip6tables -A FORWARD -p tcp -m tcp --dport 22 -j ACCEPT
    sudo ip6tables -A FORWARD -s 2001:7b8:2ff:8469::/64 -j ACCEPT
    sudo ip6tables -A FORWARD -p ipv6-icmp -j ACCEPT
    sudo ip6tables -A FORWARD -j DROP


Als ik nu een listing van de ip6tables wil krijg ik:
    root@asteriskondebian:~# ip6tables  -Lnv
    ip6tables: No chain/target/match by that name.     ???
    root@asteriskondebian:~#

Het vreemde is, dat de listing  wel goed gewerkt heeft, maar nu ineens niet meer !







« Laatst bewerkt op: 2013/07/06, 00:28:55 door henkoegema »
𝕸𝖎𝖘𝖈𝖊𝖗𝖊 𝖚𝖙𝖎𝖑𝖊 𝖉𝖚𝖑𝖈𝖎. (Ter leering ende vermaeck)
𝕹𝖎𝖑 𝖛𝖔𝖑𝖊𝖓𝖙𝖎𝖇𝖚𝖘 𝖆𝖗𝖉𝖚𝖚𝖒. (Niets is moeilijk voor hen die willen)
https://henk.oegema.com  (Op RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  24.04 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & TELLO drone (voor AI)

Re: ip6tables: No chain/target/match by that name
« Reactie #1 Gepost op: 2013/07/06, 00:28:29 »
Na (lang) zoeken ben ik er zelf achter gekomen.    :)

ip6tables -Lnv werkt niet.
ip6tables -nvL werkt wel.
𝕸𝖎𝖘𝖈𝖊𝖗𝖊 𝖚𝖙𝖎𝖑𝖊 𝖉𝖚𝖑𝖈𝖎. (Ter leering ende vermaeck)
𝕹𝖎𝖑 𝖛𝖔𝖑𝖊𝖓𝖙𝖎𝖇𝖚𝖘 𝖆𝖗𝖉𝖚𝖚𝖒. (Niets is moeilijk voor hen die willen)
https://henk.oegema.com  (Op RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  24.04 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & TELLO drone (voor AI)

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: [OPGELOST]ip6tables: No chain/target/match by that name
« Reactie #2 Gepost op: 2013/07/07, 13:15:41 »
ip6tables -L -n -v werkt ook.
De reden dat je bovenste commando niet werkt is dat hij gaat zoeken naar een chain die "nv" heet. Door er mintekens voor te zetten is het duidelijk dat het opties zijn in plaats van een naam.