[Eisfair] Eisfair als Router mit IPv6 hinter FritzBox
Frank Großmann
fgrossmann at grossmann-computer.de
So Aug 16 19:29:08 CEST 2026
Am 12.08.2026 um 20:28 schrieb Holger Bruenjes:
> Hallo Frank
>
> Am 12.08.26 um 20:01 schrieb Frank Großmann:
>> Am 12.08.2026 um 18:10 schrieb Holger Bruenjes:
>
>>>> Nun benötige ich für eine Anwendung auf IPv6-Basis den Netzzugriff über
>>>> IPv6.
>>> da ich selber kein IPv6 habe, ist es etwas schwierig fuer mich.
>>> Du kannst bitte einen Versuch starten
>>>
>>> /usr/libexec/netconfig/routing
>>>
>>> Zeile 114
>>>
>>> - echo 1 > /proc/sys/net/ipv4/ip_forward
>>>
>>> + echo 1 > /proc/sys/net/ipv6/ip_forward
>>> ^^^^^^^^
>>>
>>> den Wert auf ipv6 aendern
>>>
>>> Holger
>>
>> Hallo Holger
>>
>> Danke für die Hilfe.
>> Habe die Änderung in /usr/libexec/netconfig/routing/routing eingetragen.
>> Die Datei /proc/sys/net/ipv6/ip_forward exitiert bei mir nicht.
>> Habe nur cat /proc/sys/net/ipv6/conf/all/forwarding mit 0 gefunden.
>
>
> OK, dann dahin
>
> echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
>
> Holger
Hallo
Habe eine Lösung für das Probleme hier gefunden und auf Router mit
IPV6-Routing umgesetzt:
https://w3.ual.es/~vruiz/Docencia/Apuntes/Networking/Protocols/Level-3/NAT-Lab/index.html
0.1.6 A Linux NAT box creation
Configure the network adapters To perform NATing two adapters are
neccesary. One of them will be connected to the private network (in our
examples, this is the eth1 device) and the otter will be connected to
the Internet (the wlan1 device).
Enable IP-forwarding in the kernel
sudo echo "1" > /proc/sys/net/ipv4/ip_forward
Enable packet NAT-ing Those packets that leaves the NAT box towards the
Internet must have the IP of the public network adaptor (wlan1):
sudo iptables --table nat --append POSTROUTING --out-interface wlan1
--jump MASQUERADE
Wenn ich auf meinem Eisfair-Router mit net0 und net1:
sudo ip6tables --table nat --append POSTROUTING --out-interface net1
--jump MASQUERADE
ausführe kann ich den Eisfair parallel mit IPv4 und IPv6 als Router nutzen.
Dank für eure Hilfe und die Hinweise zum IPv6-Adressaufbau.
Frank
Mehr Informationen über die Mailingliste Eisfair