OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: leifnel on March 30, 2023, 11:10:43 PM

Title: Wireguard ipv6 over ipv4-tunnel
Post by: leifnel on March 30, 2023, 11:10:43 PM
I have a wireguard vpn running over ipv4 between a site with ipv6-connectivity and a /64 to a site without ipv6

Can I assign some of the ipv6-adresses to the ipv4-only site and route over the vpn?

Is this possible?
Any recipies on how out there?
Title: Re: Wireguard ipv6 over ipv4-tunnel
Post by: Patrick M. Hausen on March 30, 2023, 11:14:41 PM
Fundamentally, yes. But you cannot subnet a /64. You need another /64 for the IPv4 only site. I run this in production.
Title: Re: Wireguard ipv6 over ipv4-tunnel
Post by: bimbar on March 31, 2023, 10:05:08 AM
You could subnet the /64 for link networks and such, but you can not have anything other than a /64 for a lan network.