OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: Mayo132 on April 20, 2024, 12:59:26 PM

Title: Multi WAN Ipv6 - Load Balancer
Post by: Mayo132 on April 20, 2024, 12:59:26 PM
Hey everyone,

at the moment iam trying to set up a load balancer with ipv6. But there are some problemes with sporadic disconnects.

I think the reason why is, that the computer switches the connections.

I've read somehing in this forum that i have to disable the "Shared forwarding" option. Even reading the documentation, i don't understand the meaning of this option.

My something can explain it to me ?

Thanks a lot

Mario
Title: Re: Multi WAN Ipv6 - Load Balancer
Post by: Maurice on April 20, 2024, 08:57:54 PM
How are you trying to achieve this? With NPT or NAT?

Cheers
Maurice
Title: Re: Multi WAN Ipv6 - Load Balancer
Post by: Mayo132 on April 20, 2024, 09:16:54 PM
Hi thanks for your reply.

The reason why iam asking is, that i've read that this is needed for using a loadbalancer with ipv6.

At the the moment i realize the load balancer only by using ipv4, but i would like to add also an ipv6 loadbalancer. But until now, i never worked really well.
After some time the connection always broke.

So i have to start drom scratch ;)
Title: Re: Multi WAN Ipv6 - Load Balancer
Post by: Maurice on April 20, 2024, 09:27:24 PM
For load balancing IPv6, you'd need to configure IPv6 outbound NAT or NPTv6 on one of the WAN interfaces. You can't route IPv6 addresses delegated to WAN1 via WAN2 and vice versa.

This is not recommended. If you want to use multiple WANs for IPv6 simultaneously, try splitting them manually, e. g. use WAN2 for the guest network or something like this.
Title: Re: Multi WAN Ipv6 - Load Balancer
Post by: Wirehead on April 24, 2024, 04:47:19 PM
In my scenario with dual WAN - I had to keep it enabled - see here:
https://forum.opnsense.org/index.php?topic=39349.msg194153#msg194153

Do note that you will need to NAT IPv6 outgoing over WAN02 for all the prefixes from WAN01 that you might be tracking.