Skip to content

u/Swedophone

In this archive from Jul 2013 to Nov 2026

3
posts
610
comments
0
media
1.8k
score

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.

1 points

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.

3 points

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.

1 points

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.

2 points

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.

4 points

option forward 'REJECT'

This seems like the wrong fix..

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.

5 points

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
1 points

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.

6 points

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.

2 points

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.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.