» Firewall-Regeln fehlerhaft: fw3_ipt_rule_append(): Can't find target

Warnhinweis - Angebote für den Verkauf außerhalb von eBayNeuen Thread eröffnenNeue Antwort erstellenVodafone will nagelneuen VDSL Router "EasyBox 804" nicht zurücknehmen
AutorNachricht
Administrator 

Name: Marc
Geschlecht:
Anmeldedatum: 28.08.2004
Beiträge: 52423
Wohnort: Lohmar


Meine eBay-Auktionen:
24.04.2017, 12:39
zitieren

Nach Änderungen in der Firewall eines OpenWRT Routers bekomme ich diverse Fehlermeldungen:
root@GL-AR150:/etc/config# /etc/init.d/firewall reload
 * Clearing IPv4 filter table
 * Clearing IPv4 nat table
 * Clearing IPv4 mangle table
 * Clearing IPv4 raw table
 * Populating IPv4 filter table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
Warning: fw3_ipt_rule_append(): Can't find target 'input_vpn_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'output_vpn_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'forwarding_vpn_rule'
   * Rule 'Allow-DHCP-Renew'
   * Rule 'Allow-Ping'
   * Rule 'Allow-IGMP'
   * Rule #7
   * Rule #8
   * Rule 'glservice'
   * Rule #10
   * Forward 'lan' -> 'wan'
   * Forward 'vpn' -> 'lan'
   * Forward 'lan' -> 'vpn'
   * Forward 'vpn' -> 'wan'
 * Populating IPv4 nat table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_vpn_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_vpn_rule'
 * Populating IPv4 mangle table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Populating IPv4 raw table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Clearing IPv6 filter table
 * Clearing IPv6 mangle table
 * Clearing IPv6 raw table
 * Populating IPv6 filter table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
Warning: fw3_ipt_rule_append(): Can't find target 'input_vpn_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'output_vpn_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'forwarding_vpn_rule'
   * Rule 'Allow-DHCPv6'
   * Rule 'Allow-MLD'
   * Rule 'Allow-ICMPv6-Input'
   * Rule 'Allow-ICMPv6-Forward'
   * Rule #7
   * Rule #8
   * Rule 'glservice'
   * Rule #10
   * Forward 'lan' -> 'wan'
   * Forward 'vpn' -> 'lan'
   * Forward 'lan' -> 'vpn'
   * Forward 'vpn' -> 'wan'
 * Populating IPv6 mangle table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Populating IPv6 raw table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Set tcp_ecn to off
 * Set tcp_syncookies to on
 * Set tcp_window_scaling to on
 * Running script '/usr/share/miniupnpd/firewall.include'

Das ist die firewall Datei
config defaults
        option syn_flood '1'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option src_ip 'fe80::/10'
        option src_port '547'
        option dest_ip 'fe80::/10'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config include
        option path '/etc/firewall.user'

config rule
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'any'
        option reload '1'

config rule 'glservice_rule'
        option name 'glservice'
        option dest_port '83'
        option proto 'tcp udp'
        option src 'wan'
        option target 'ACCEPT'

config rule 'Allow_OpenVPN_Inbound'
        option target 'ACCEPT'
        option src '*'
        option proto 'udp'
        option dest_port '1194'

config zone 'vpn'
        option name 'vpn'
        option network 'vpn0'
        option input 'ACCEPT'
        option forward 'REJECT'
        option output 'ACCEPT'
        option masq '1'

config forwarding 'vpn_forwarding_lan_in'
        option src 'vpn'
        option dest 'lan'

config forwarding 'vpn_forwarding_lan_out'
        option src 'lan'
        option dest 'vpn'

config forwarding 'vpn_forwarding_wan'
        option src 'vpn'
        option dest 'wan'

Die Fehlermeldungen sind ja im Grunde alle die selben. Überall wird ein fehlendes "target" bemängelt. Konfiguriert hatte ich die Firewall mit diesem HowTo:
https://wiki.openwrt.org/doc/howto/vpn.openvpn#configure_the_network_on_the_openwrt_router
Zitat1. Create the VPN interface (named vpn0):
uci set network.vpn0=interface
uci set network.vpn0.ifname=tun0
uci set network.vpn0.proto=none
uci set network.vpn0.auto=1

2. Allow incoming client connections by opening the server port (default 1194) in our firewall:
uci set firewall.Allow_OpenVPN_Inbound=rule
uci set firewall.Allow_OpenVPN_Inbound.target=ACCEPT
uci set firewall.Allow_OpenVPN_Inbound.src=*
uci set firewall.Allow_OpenVPN_Inbound.proto=udp
uci set firewall.Allow_OpenVPN_Inbound.dest_port=1194

...

6. Commit the changes:
uci commit network
/etc/init.d/network reload
uci commit firewall
/etc/init.d/firewall reload

Kann mir jemand einen Tipp geben welche "targets" hier gemeint sind?


pn email
Premium-Member 

Geschlecht:
Fahrzeug: Del Sol EG2 Turbo, Mazda 323 BG Turbo, Alltagsbitch - Passat
Anmeldedatum: 31.10.2008
Beiträge: 1093
Wohnort: Eggendorf
24.04.2017, 14:08
zitieren

Ich würd mal das IPv6 abdrehen..klingt ziemlich danach..hatte ein ähnliches Problem auf einem Checkpoint Cluster

pn
Administrator 

Name: Marc
Geschlecht:
Anmeldedatum: 28.08.2004
Beiträge: 52423
Wohnort: Lohmar


Meine eBay-Auktionen:
25.04.2017, 12:14
zitieren

Stimmt, Danke! Ich habe in der Fritz!Box IPv6 deaktiviert und schon wurden die Regeln fehlerfrei übernommen:
root@GL-AR150:~# /etc/init.d/firewall reload
 * Clearing IPv4 filter table
 * Clearing IPv4 nat table
 * Clearing IPv4 mangle table
 * Clearing IPv4 raw table
 * Populating IPv4 filter table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
   * Rule 'Allow-DHCP-Renew'
   * Rule 'Allow-Ping'
   * Rule 'Allow-IGMP'
   * Rule #7
   * Rule #8
   * Rule 'glservice'
   * Rule #10
   * Forward 'lan' -> 'wan'
   * Forward 'vpn' -> 'lan'
   * Forward 'lan' -> 'vpn'
   * Forward 'vpn' -> 'wan'
 * Populating IPv4 nat table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Populating IPv4 mangle table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Populating IPv4 raw table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Clearing IPv6 filter table
 * Clearing IPv6 mangle table
 * Clearing IPv6 raw table
 * Populating IPv6 filter table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
   * Rule 'Allow-DHCPv6'
   * Rule 'Allow-MLD'
   * Rule 'Allow-ICMPv6-Input'
   * Rule 'Allow-ICMPv6-Forward'
   * Rule #7
   * Rule #8
   * Rule 'glservice'
   * Rule #10
   * Forward 'lan' -> 'wan'
   * Forward 'vpn' -> 'lan'
   * Forward 'lan' -> 'vpn'
   * Forward 'vpn' -> 'wan'
 * Populating IPv6 mangle table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Populating IPv6 raw table
   * Zone 'lan'
   * Zone 'wan'
   * Zone 'vpn'
 * Set tcp_ecn to off
 * Set tcp_syncookies to on
 * Set tcp_window_scaling to on
 * Running script '/usr/share/miniupnpd/firewall.include'

Jetzt muss ich nur noch herausfinden wie ich IPv6 im Router komplett abschalte. Ich suche mal :)


 1x  bearbeitet
pn email
Premium-Member 

Geschlecht:
Fahrzeug: Del Sol EG2 Turbo, Mazda 323 BG Turbo, Alltagsbitch - Passat
Anmeldedatum: 31.10.2008
Beiträge: 1093
Wohnort: Eggendorf
26.04.2017, 10:28
zitieren

Ich glaube ganz abschalten wird nicht funktionieren, da die Geräte alle bereits vorkonfiguriert sind, wenn IPv6 im WAN Bereich kommt, damit sie IP Adressen beziehen können.

Ich denke das wird man nur deaktiveren können..wäre ja eigentlich ausreichend.. ;)


pn
Beobachter 
Fahrzeug: Renault Megane Coupe/Coach 1.6
Anmeldedatum: 30.04.2017
Beiträge: 5
Wohnort: Baden-Würrtemberg
04.05.2017, 18:36
zitieren

IPv6 lässt sich nur im LAN deaktivieren, damit keine IPv6 Adressen mehr per DHCP an die Clients vergeben werden.
Im WAN ist das nicht möglich, da alle Verträge (außer teilweise Business) nur noch über IPv6 oder Dual Stack Lite laufen.
Gibt ja keine IPv4 Adressen mehr ;)

Wenn du eh eine FireWall nutzt, kannst du ja mal versuchen den Teredo Filter welcher den IPv6 Tunnel für UDP Pakete aufbaut zu deaktivieren.
Der macht auch ab und an Probleme, sollte aber ohne externe Firewall nicht deaktiviert werden wenn nicht unbedingt nötig.


pn
Gast 
04.05.2017, 18:36
zitieren

Mach mit!

Wenn Dir die Beiträge zum Thread "Firewall-Regeln fehlerhaft: fw3_ipt_rule_append(): Can't find target" gefallen haben oder Du noch Fragen hast oder Ergänzungen machen möchtest, solltest Du Dich gleich bei uns anmelden:



Registrierte Mitglieder genießen die folgenden Vorteile:
✔ kostenlose Mitgliedschaft
keine Werbung
✔ direkter Austausch mit Gleichgesinnten
✔ neue Fragen stellen oder Diskussionen starten
✔ schnelle Hilfe bei Problemen
✔ Bilder und Videos hochladen
✔ und vieles mehr...


Neuen Thread eröffnenNeue Antwort erstellen
Ähnliche BeiträgeRe:
Letzter Beitrag
 Windows Firewall
Den kannte ich noch gar nicht....
[Offtopic]von mgutt
4
133
11.09.2015, 09:03
mgutt
robots.txt für Honeypot-Firewall nutzen
In unserem Forum nutzen wir eine PHP Firewall, die hier näher beschrieben wird: http://www.maxrev.de/php-firewall-blockt-nun-ips-von-spam-bots-t234957.htm Diese haben wir nun so erweitert, dass alle Zugriffe auf Verzeichnisse, die nicht auf unserem...
von mgutt
1
374
22.02.2017, 22:29
mgutt
 PHP Firewall blockt nun IPs von Spam-Bots
Dies ist eine simple aber sehr effiziente Firewall aus einer Kombination von PHP und .htaccess. Funktionsweise Bei jedem Aufruf unserer Seite prüft die .htaccess ob die Datei "firewall/{IP-Adresse}.txt" existiert und wenn ja dann stoppt das...
Seite 2 [Ankündigungen]von mgutt
19
2.719
29.03.2017, 07:44
mgutt
DB Messung fehlerhaft?
Hallo Leute, Folgendes ist mir bei meiner letzten Messung aufgefallen: Ich will den Schalldruck beim "normalen" Musikhören messen. Ich dreh auf Volume 25 und das Messgerät zeigt ca. 123-125dB an ich kann bis Volume 35 aufdrehen und das...
Seite 2 [Car Audio, Apps, Bluetooth & Navigation]von littlegreenjazz
12
650
08.06.2011, 11:23
Starbird
Code-Tag fehlerhaft
...
Seite 2 [Ankündigungen]von Mattes
12
418
29.04.2010, 19:09
mgutt
Firewall Administrator (m/w/d) | HYDAC INTERNATIONAL GmbH
Bewerben Sie sich bis zum 13.12.2023. Jetzt bewerben!(https://api.relaxx.center/r/3d547d2eb1fb45b4a650f2e5d8f59816?pid=1998317&mpid=1294703&prid=1021081&tid=30) Zur Stellenanzeige auf Mein IT Job(https://s.jobboarddeutschland.de/1g2s) Ihre...
von kimjob
0
102
19.10.2023, 18:08
kimjob
Firewall Architekt (m/w/d) | HYDAC INTERNATIONAL GmbH
Bewerben Sie sich bis zum 13.12.2023. Jetzt bewerben!(https://api.relaxx.center/r/0e35ec19ccb14441b0b0888fdbf5be83?pid=1998303&mpid=1294699&prid=1021081&tid=30) Zur Stellenanzeige auf Mein IT Job(https://s.jobboarddeutschland.de/1g14) Ihre...
von kimjob
0
105
18.10.2023, 19:10
kimjob
Junior Firewall- und Netzwerkadministrator (m/w/d) in Bremen gesucht
think energy Gemeinsam gestalten wir die Energieversorgung der Zukunft! Sie möchten nachhaltig etwas bewegen? Den Ausbau der erneuerbaren Energien in einem wachsenden und zukunftsfähigen Geschäftsfeld weiter voranbringen? wpd bietet Ihnen die...
von ExpressJ
0
208
25.08.2023, 09:25
ExpressJ
IT-Administrator Security & Firewall (m/w/d) | ESWE Versorgungs AG
Bewerben Sie sich bis zum 06.05.2025. Jetzt bewerben!(https://api.relaxx.center/r/0232ab2a6f194880a5820c0d9110d91d?pid=2349253&mpid=1410759&prid=1021081&tid=30) Zur Stellenanzeige auf Mein IT Job(https://s.jobboarddeutschland.de/1sjn) Ihre...
von kimjob
0
54
13.03.2025, 08:09
kimjob
kenwood KDC-BT31U fehlerhaft?
moin moin jungs=) ich habe das KDC-BT31U und ein problem... wenn ich meinen usb-stick anschliese kann ich von dem einiges an musik hören.... ABER einige ordner werden nicht erkannt bzw die mp3 datein darin nicht.... woran liegt das? diese...
von robinius
10
2.125
16.10.2011, 11:03
franjof
© 2004 - 2025 www.maxrev.de | Communities | Impressum |