Re: IPv6-Probleme
Posted: Sun 22. Oct 2023, 03:49
Das offizielle KeyHelp Forum der Keyweb AG / The official KeyHelp forum of Keyweb AG
https://community.keyhelp.de/
Ja, davon gehe ich auch aus. Bisher sieht das so aus
Code: Select all
root@minny:~# cat /etc/netplan/90-override.yaml
network:
ethernets:
all:
addresses:
- 2a02:247a:248:f00:1::1/128
routes:
- to: default
via: fe80::1
version: 2
Code: Select all
root@minny:~# cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
all:
dhcp4: true
dhcp6: true
match:
name: en*
version: 2
Wenn du das im Comment genannte File anlegen und mit dem dort angegebenen Content füllen würdest:
Code: Select all
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
Naja, probiert habe ich es, muss wohl bei IPv4 zumindest noch was gefehlt haben. So muss sich Goethes Zauberlehrling gefühlt haben. Ich warte jetzt erst mal mit dem Upgrade auf Debian 12. Habe einige andere Dinge erst mal zu tun, danach probiere ich es nochmal. Ist schon etwas frustrierend derzeit bei Strato, dass IPv6 nach Keyhelp-Installation tot ist. Keine Ahnung was die da gemacht haben oder was nach der Keyhelp-Installation irgendwie die Zuweisung der IPv6 per DHCP verhindert. Aber mit dem Workaround für die IPv6 funktioniert es ja bis auf weiteres erst mal.
Code: Select all
root@mail:~# ip6tables --list
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all anywhere anywhere state RELATED,ESTABLISHED
DROP all anywhere anywhere state INVALID
DROP tcp anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE
DROP tcp anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG
DROP tcp anywhere anywhere tcp flags:!FIN,SYN,RST,ACK/SYN state NEW
DROP tcp anywhere anywhere tcp flags:FIN,SYN/FIN,SYN
DROP tcp anywhere anywhere tcp flags:SYN,RST/SYN,RST
DROP all ip6-localhost anywhere
ACCEPT all anywhere anywhere
ACCEPT tcp anywhere anywhere tcp dpt:ssh
ACCEPT tcp anywhere anywhere tcp dpt:domain
ACCEPT udp anywhere anywhere udp dpt:domain
ACCEPT tcp anywhere anywhere tcp dpt:http
ACCEPT tcp anywhere anywhere tcp dpt:https
ACCEPT tcp anywhere anywhere tcp dpt:pop3
ACCEPT tcp anywhere anywhere tcp dpt:pop3s
ACCEPT tcp anywhere anywhere tcp dpt:imap2
ACCEPT tcp anywhere anywhere tcp dpt:imaps
ACCEPT tcp anywhere anywhere tcp dpt:smtp
ACCEPT tcp anywhere anywhere tcp dpt:submissions
ACCEPT tcp anywhere anywhere tcp dpt:submission
DROP tcp anywhere anywhere tcp dpt:mysql
ACCEPT tcp anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp anywhere anywhere tcp dpt:ftp
ACCEPT tcp anywhere anywhere tcp dpts:30000:30500
ACCEPT ipv6-icmp anywhere anywhere ipv6-icmptype 128 code 0
ACCEPT ipv6-icmp anywhere anywhere ipv6-icmptype 129 code 0
ACCEPT ipv6-icmp anywhere anywhere limit: avg 10/sec burst 20
DROP ipv6-icmp anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all anywhere anywhere state RELATED,ESTABLISHED
DROP all ip6-localhost anywhere
ACCEPT all anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all anywhere anywhere
root@mail:~#