however I couldn't figure out how to connect to services from local computers at home one through the VPN server at home one for services hosted at home 2.
You may be missing routes on the LAN router of home 1 to the subnets at home 2 via the VPN gateway and vice versa.
Can I just let them communicate over IPv6 by setting the ports on the routers to IPv6? or have I overlooked something?
IPv6 devices should have a stable address that you can use until the router acquires a new IPv6 prefix. Install WireGuard on both servers, then open a WireGuard port (51820 is common) with the stable IPv6 address on both routers.
Yes, via your own VPN, such as WireGuard, of course. If you don't have a public IPv4 address and can't use IPv6 then I recommend getting a cheap VPS that you install VPN on.
Can I just hook up the AP to the pfsense VM to give it wireless functionality?
Yes, an AP is a device you connect to the LAN to give it wireless functionality.
What would be different to just using an all in one solution like a box from your ISP?
Home routers usually have limited functionality, at least with the original firmware. OpenWrt works on some routers and gives you advanced functions. Otherwise an AP which supports VLANs and multiple SSID + a virtual Pfsense or OpenWrt + managed switch which supports VLAN works equally well or better. (If you only want one wireless/wired LAN network then you don't need VLAN support.)
Do I also have some sort of home network manager with an UI like I would have with a ordinary box?
I'm not sure what functionality you are referring to.
The 40 random bits is for things like preventing conflicts when corporate networks merge or get joined using a VPN and that's not gonna be a concern for a home environment.
There are good reasons to use random ULA prefixes at home. VPN services also might use ULA, and home users might also want to connect to networks of friends etc. Why risk conflicts? when following the RFC more or less guarantees you'll awoid conflicts.
It's hard to say since you didn't say what filesystem you use. On non-Unix/linux filesystems the ownership is specified when mounting it. On Unix/linux filesystem you use chown to change ownership.
I also realised that, quite surprisingly, iptables configs are split between ipv4 and IPv6, and the default policy is ACCEPT.
On OpenWrt I think the default policy is reject in the default configuration. Also each firewall rule can affect both protocols. Behind the scene obviously two rules were inserted when OpenWrt used iptables, but the latest release (22.03) uses nftables which doesn't require that.
Having the default action in the forward chain set to reject is completely normal in OpenWrt since you usually configure a forwarding section for each pair of source and destination zones you want to allow forwarding on. Isn't it also the default configuration, and OpenWrt supports IPv6 out-of-the box.
Yes but split-horizon DNS or NAT loopback isn't required with IPv6 as it's on IPv4, which is a good think since split-horizon DNS doesn't play well with DNSSEC, and NAT loopback is something I want to avoid anyway.
I know the cause of the error. I am getting an error because I did not add the network interface I created to the "/etc/iproute2/rt_tables" route table.
No, you add names of routing tables not network interfaces to that file. And you don't have to name routing tables, you can use the number instead.
ip route add 192.168.0.0/12 dev test table 42
ip rule add from 10.8.1.1 lookup 42
Maybe you should post a screenshot since your router doesn't seem to use the same terminology as the official application.
BTW if your LAN is 192.168.1.0/24 then you shouldn't use the same subnet for something else such as the WireGuard network. On each host (including the router) multiple interfaces (including the LAN interface and the WireGuard tunnel interface) should share the same subnet.
I got this error when trying to lookup (https://lg.he.net/) the BGP route to 2001:550:1::cc01 (www.congentco.com) at Equinix Stockholm (SK1) Stockholm, SE.
Error: The address you entered does not have a matching route entry.
The second on is, that the IPv6 Address isn't reachable from every
provider. With some I get a No Route to Host Messages when trying to
ping them. It seems like they provider doesn't has a route for my IPv6
Prefix.
Might it be because of the IPv6 dispute between Cogent and Hurricane Electric? Anyway you could try reporting it to both ISPs, or at least to your own.
For WireGuard you need to set the correct preferred source address in the route(s) that are used. You don't need to use iptables since you can use fwmark set by each WireGuard tunnel. Add ip rules which use the fwmarks as selector to configure policy based routing.
If a VPN is running on the host then each packet to or from the VPN tunnel should traverse the nftables rules twice (encrypted and unencrypted). I think your icmpv6 rule would affect both rounds, since you neither specify the network interface nor source or target addresses.
Edit: The above is only true if the VPN uses ICMP as transport protocol, which might happen but ins't common. Otherwise the rule will affect unencrypted ICMP packets.
The default file manager in Ubuntu (GNOME Files) doesn't require file extensions anyway.
You may be missing routes on the LAN router of home 1 to the subnets at home 2 via the VPN gateway and vice versa.
IPv6 devices should have a stable address that you can use until the router acquires a new IPv6 prefix. Install WireGuard on both servers, then open a WireGuard port (51820 is common) with the stable IPv6 address on both routers.
You have to enable packet forwarding. And you need to NAT if you aren't allowed to use your LAN addresses with the WireGuard tunnel.
Yes, configure the local VM as the default router (AKA gateway) in the DHCP server settings of your LAN router.
It can be done with policy based routing (PBR) on 192.168.34.1.
Yes, via your own VPN, such as WireGuard, of course. If you don't have a public IPv4 address and can't use IPv6 then I recommend getting a cheap VPS that you install VPN on.
Yes, an AP is a device you connect to the LAN to give it wireless functionality.
Home routers usually have limited functionality, at least with the original firmware. OpenWrt works on some routers and gives you advanced functions. Otherwise an AP which supports VLANs and multiple SSID + a virtual Pfsense or OpenWrt + managed switch which supports VLAN works equally well or better. (If you only want one wireless/wired LAN network then you don't need VLAN support.)
I'm not sure what functionality you are referring to.
Hopefully your ISP provides IPv6 access which you can use.
There are good reasons to use random ULA prefixes at home. VPN services also might use ULA, and home users might also want to connect to networks of friends etc. Why risk conflicts? when following the RFC more or less guarantees you'll awoid conflicts.
It's hard to say since you didn't say what filesystem you use. On non-Unix/linux filesystems the ownership is specified when mounting it. On Unix/linux filesystem you use chown to change ownership.
This is the Linux questions reddit, where are the questions?
On OpenWrt I think the default policy is reject in the default configuration. Also each firewall rule can affect both protocols. Behind the scene obviously two rules were inserted when OpenWrt used iptables, but the latest release (22.03) uses nftables which doesn't require that.
Having the default action in the forward chain set to reject is completely normal in OpenWrt since you usually configure a forwarding section for each pair of source and destination zones you want to allow forwarding on. Isn't it also the default configuration, and OpenWrt supports IPv6 out-of-the box.
Yes but split-horizon DNS or NAT loopback isn't required with IPv6 as it's on IPv4, which is a good think since split-horizon DNS doesn't play well with DNSSEC, and NAT loopback is something I want to avoid anyway.
Not to my knowledge, but you can define "test" in /etc/iproute2/rt_tables.
No, you add names of routing tables not network interfaces to that file. And you don't have to name routing tables, you can use the number instead.
Maybe you should post a screenshot since your router doesn't seem to use the same terminology as the official application.
BTW if your LAN is 192.168.1.0/24 then you shouldn't use the same subnet for something else such as the WireGuard network. On each host (including the router) multiple interfaces (including the LAN interface and the WireGuard tunnel interface) should share the same subnet.
I got this error when trying to lookup (https://lg.he.net/) the BGP route to 2001:550:1::cc01 (www.congentco.com) at Equinix Stockholm (SK1) Stockholm, SE.
Also traceroute shows nothing.
I can't reach www.cogentco.com via Hurricane Electric's IPv6 addresses anyway. Is that what you call "poor routing"?
Might it be because of the IPv6 dispute between Cogent and Hurricane Electric? Anyway you could try reporting it to both ISPs, or at least to your own.
For WireGuard you need to set the correct preferred source address in the route(s) that are used. You don't need to use iptables since you can use fwmark set by each WireGuard tunnel. Add ip rules which use the fwmarks as selector to configure policy based routing.
I mean the actual tinc packets that carries the data between the endpoints. You should see them if you run wireshark on an endpoint.
Are you sure, have you verified the packets are sent directly between the peers without going through any other host?
If a VPN is running on the host then each packet to or from the VPN tunnel should traverse the nftables rules twice (encrypted and unencrypted). I think your icmpv6 rule would affect both rounds, since you neither specify the network interface nor source or target addresses.
Edit: The above is only true if the VPN uses ICMP as transport protocol, which might happen but ins't common. Otherwise the rule will affect unencrypted ICMP packets.