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 605 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 »
Miscere utile dulci. (Ter leering ende vermaeck)
http://henk.oegema.com  (Op RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  22.04.4 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & Jetson Nano (voor AI & ML)

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.
Miscere utile dulci. (Ter leering ende vermaeck)
http://henk.oegema.com  (Op RaspberryPi2)
Registered linux user 520520.  In gebruik: Ubuntu  22.04.4 Hobby's: Radio Amateur callsign: PA2HO.  Interesses: Raspberry Pi & Arduino & Jetson Nano (voor AI & ML)

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.