46
Development and Code Review / Re: Wireguard in opnsense
« on: May 08, 2019, 03:19:36 pm »
Hello,
First, thanks for the work and effort of providing a wireguard plugin for OPNsense.
While testing it I stumbled upon a scenario which caused the vpn tunnel not to work. It may be a rare case, I don't know.
OPNsense Remote will query the domain, get the AAAA record and connect via IPv6.
But what, if I want to connect via IPv4 only, although IPv6 is available?
A checkbox that asks which protocol to use for the outer connection would be great.
First, thanks for the work and effort of providing a wireguard plugin for OPNsense.
While testing it I stumbled upon a scenario which caused the vpn tunnel not to work. It may be a rare case, I don't know.
Code: [Select]
----------------- -------------------
| OPNsense Home | --------- | OPNsense Remote |
|---------------| |-----------------|
| - dynamic IP | | - fixed IP |
| - dual stack | | - dual stack |
----------------- -------------------
- OPNsense Home has dynamic dns domain with both A and AAAA records
- Remote Endpoint in OPNsense Remote is set to that above domain
- Both senses prefer IPv6 in general
- The transfer network and the networks to route are IPv4 networks
OPNsense Remote will query the domain, get the AAAA record and connect via IPv6.
But what, if I want to connect via IPv4 only, although IPv6 is available?
A checkbox that asks which protocol to use for the outer connection would be great.