Ein “LAN” mit Wireguard als VPN-Server & basierend auf IPv6?

Aloha,
ich habe mir in letzter Zeit einige Gedanken gemacht, und nun wollte ich meinen Plan etwas ausformulieren & mir noch 1-2 Ratschläge abholen.

Geplant ist ein LAN, in einer VPN-Umgebung, wobei ich mindestens 3 öffentliche und routebare IP-Adressen (IPv4) habe. Ein Server, FreeBSD 14.2, soll dabei im VPN nur IPv6-Adressen ausspucken an die Clients, um ein “VLAN” mithilfe von Wireguard zu schaffen. Hinzu kommt, dass ein Server in Singapur steht, einer in Helsinki und der Dritte ist nur eine virtuelle Maschine, die über einen Server rausgeht. Ich habe mir gedacht, dass das schon eine anspruchsvolle Geschichte ist, zumal ja auch Handys oder andere Clients daran teilhaben sollen. Vom Provider habe ich ein 64er Prefix zugewiesen bekommen, und ich habe auch angefangen die virtuelle Maschine zu konfigurieren, jedoch bekomme ich es einfach nicht hin, dass die VM über IPv6-“Konnektivität” verfügt – sprich, ich kann keinen ping6 absetzen etc.
Schlussendlich:
Gibt es da irgendeine Lektüre im Moment für FreeBSD mit IPv6, im Netz habe ich nämlich bis jetzt nur unbrauchbares gefunden 🙁

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
6 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
LUKEars
1 month ago
  1. FreeBSD can certainly be IPv6… probably even exemplary… why did you decide against OpenBSD (security focus) and NetBSD (network focus)?
  2. Wireguard is No full VPN tool…
  3. why Prefix/64 but then IPv4? Why don’t you give your public node an IPv6? Compatibility if a phone is in a network that can only be IPv4?
  4. the different locations you would have to connect with Wireguard… and then do the routing normally over the IP addresses… so: Singapore gets a group of IP addresses Prefix/96 and the other locations a different group so that the routers don’t have to break down to find out where the package is to go…
  5. and to ping: there I always use tcpdump to find the place where it is stuck in the firewall… so tcpdump on the various interfaces of the virtual machine…. then on the next network device… until you find the place where it is dropped…
LUKEars
1 month ago
Reply to  NikoLove

Okay.

  1. the user is assigned a random IPv6 for each message?
  2. and this allocation table is kept secret from the recipient?
  3. Why aren’t the messages run over a single server that simply strips the sender IP, as it actually does all messaging services?
LUKEars
1 month ago

so: still ne question:

Why do you need an IPv6 /64 from the provider? Once you’re in your VPN, you can use IP Addys as you want…

https://www.elektronik-kompendium.de/sites/net/2107111.htm

The ULA-IPv6 addresses are located in the address range “fc00…” to “fdff…”

LUKEars
1 month ago

have you looked at the different interfaces with tcpdump?