Hello all!
I have set up a NAS/router thing (now on referred to as “router”) to route my network traffic, and it works beautifully with IPv4.
However, I just can’t get my networked computers to see the outside world. But I can ping/curl wan sources from the router.
I use systemd-networkd, dnsmasq, radvd and shorewall (and shorewall6) for all this.
I followed the ArchWiki article on setting up a router: https://wiki.archlinux.org/index.php/router
It is a two-interface router, local network if: int0
, out-facing network if: ext0
The router’s configs gist: ipv6 · GitHub
ip -6 a (global ips censored, but they are related, meaning xxx
,yyy
,zzzz
,wwww
is the exact same in every instance, the ‘u’ in the ext0 is on purpose, it’s a different number)
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: int0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2001:4c4c:12c6:5d00:xxx:yyy:zzzz:wwww/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86398sec preferred_lft 14398sec
inet6 2001:4c4c:12c6:5df0:xxx:yyy:zzzz:wwww/64 scope global dynamic
valid_lft 1060902sec preferred_lft 1060902sec
inet6 fe80::21e:6ff:fe45:4afa/64 scope link
valid_lft forever preferred_lft forever
3: ext0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2001:4c4c:12c6:5d00::1001/128 scope global dynamic noprefixroute
valid_lft 1060902sec preferred_lft 1060902sec
inet6 2001:4c4c:12c6:5d00:xxx:yyy:zzzz:wwwu/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 1062571sec preferred_lft 604776sec
inet6 fe80::21e:6ff:fe45:4afb/64 scope link
valid_lft forever preferred_lft forever
ip -6 r
::1 dev lo proto kernel metric 256 pref medium
2001:4c4c:12c6:5d00::/64 dev ext0 proto ra metric 1024 expires 1062571sec pref medium
2001:4c4c:12c6:5d00::/64 dev int0 proto ra metric 1024 expires 86394sec pref medium
2001:4c4c:12c6:5df0::/64 dev int0 proto kernel metric 256 expires 1060512sec pref medium
2001:4c4c:12c6:5df0::/64 dev int0 metric 1024 pref medium
unreachable 2001:4c4c:12c6:5df0::/60 dev lo metric 1024 pref medium
2001:4c4c:12c6:5d00::/56 via fe80::4265:a3ff:feec:1e74 dev ext0 proto ra metric 1024 expires 1062571sec pref medium
fe80::/64 dev ext0 proto kernel metric 256 pref medium
fe80::/64 dev int0 proto kernel metric 256 pref medium
default via fe80::4265:a3ff:feec:1e74 dev ext0 proto ra metric 1024 expires 1776sec mtu 1500 pref medium
ping -6 ipv6.google.com
PING ipv6.google.com(prg03s01-in-x0e.1e100.net (2a00:1450:4014:800::200e)) 56 data bytes
64 bytes from prg03s01-in-x0e.1e100.net (2a00:1450:4014:800::200e): icmp_seq=1 ttl=115 time=27.8 ms
64 bytes from prg03s01-in-x0e.1e100.net (2a00:1450:4014:800::200e): icmp_seq=2 ttl=115 time=27.8 ms
64 bytes from prg03s01-in-x0e.1e100.net (2a00:1450:4014:800::200e): icmp_seq=3 ttl=115 time=27.9 ms
curl -6 ipv6.icanhazip.com
2001:4c4c:12c6:5d00::1001
A host computer on the network:
ip -6 a (global ips censored, they are completely different)
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2001:4c4c:12c6:5d00:iiii:jjjj:kkkk:llll/64 scope global dynamic noprefixroute
valid_lft 86392sec preferred_lft 14392sec
inet6 2001:4c4c:12c6:5df0:uuuu:vvvv:oooo:pppp/64 scope global dynamic noprefixroute
valid_lft 1060281sec preferred_lft 1060281sec
inet6 fe80::da34:5d23:f44c:3e23/64 scope link noprefixroute
valid_lft forever preferred_lft forever
ip -6 r
::1 dev lo proto kernel metric 256 pref medium
2001:4c4c:12c6:5d00::/64 dev eno1 proto ra metric 100 pref medium
2001:4c4c:12c6:5df0::/64 dev eno1 proto ra metric 100 pref medium
fe80::/64 dev eno1 proto kernel metric 100 pref medium
default via fe80::21e:6ff:fe45:4afa dev eno1 proto ra metric 20100 pref medium
traceroute -6 ipv6.google.com
traceroute to ipv6.google.com (2a00:1450:4014:80d::200e), 30 hops max, 80 byte packets
1 * * *
2 * * *
3 * * *
ping -6 2001:4c4c:12c6:5d00::1001 (idk where the from address in the output comes from)
PING 2001:4c4c:12c6:5d00::1001(2001:4c4c:12c6:5d00::1001) 56 data bytes
From 2001:4c4c:12c6:5d00:dc53:16a8:a474:44cd icmp_seq=1 Destination unreachable: Address unre
achable
Sorry for the long wall of text, but I am hitting my head against a concrete wall for about 2 days straight now.
Thank you for anyone helping in advance