IPv6 auf Hetzner Dedi mit virtualisierter pfSense in Proxmox

NoFloXx

Member
Jun 10, 2021
53
4
13
40
Servus,
ja, ich nerve euch mal wieder.

Bekomme es einfach nicht geschissen, auf dem Hetzner-Dedi das IPv6 zu aktivieren mit einer virtualisierten pfSense in Proxmox.

Habe es nach dieser Anleitung versucht ( https://schroederdennis.de/pfsense/pfsense-ipv6-wan-config-router-advertisement-dhcpv6-dhcp-server/ ) und auch mit dieser Interfaces-Config:
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp0s31f6
iface enp0s31f6 inet static
        address 138.xxx.xxx.xxx/26
        gateway 138.201.127.193
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up iptables -t nat -A PREROUTING -i enp0s31f6 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.0.0.2
        post-up iptables -t nat -A PREROUTING -i enp0s31f6 -p udp -j DNAT --to 10.0.0.2
        post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
        post-up ip -6 route add default via fe80::1 dev enp0s31f6
# Alle TCP-Ports zur pfSense, außer Port 22 und 8006 & Alle UDP-Ports zur pfSense

auto vmbr0
iface vmbr0 inet static
        address 10.0.0.1/30
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/30' -o enp0s31f6 -j MASQUERADE
        post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/30' -o enp0s31f6 -j MASQUERADE
        post-up ip -6 route add 2a01:xxx:xxx:xxx3::/64 via fe80::921b:eff:fe95:d788 dev vmbr0
        post-up ip address add fe80::1/64 dev vmbr0
# OPNSense WAN - Proxmox LAN

auto vmbr1
iface vmbr1 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
# VM-Netzwerk

###
iface enp0s31f6 inet6 static
        address 2a01:xxx:xxx:xxx3::2/64
        gateway fe80::1
###

iface eth0 inet manual


Aber auf der pfSense bekomme ich einfach keine IPv6 und die LXC-Container bzw. VMs ziehen sich keine v6.

Kann mir jemand helfen?