-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dual stack Routed IPsec (VTI) has some issues. #4866
Comments
I have migrated to a Physical OPNsense system now, and after importing the configuration the behavior is the same. |
This still occurs on 21.1.4 |
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
This still occurs on 21.7.6 |
This is still occurring in 22.1.8_1 |
Did you search around if this is FreeBSD related? Are there any logs? Why not using 2 tunnels for each protocol? |
Nothing I have found.
Nothing that stands out or seemingly useful that I have found. But open to suggestions on where else to look, or knobs to turn to get better information.
... Because interoperating with other devices/implementations expect both on a single Phase 1, like normal. |
Can you just post the logs when adding the second P2 and the connection setup? Also the part in IPsec.conf? And did you test against different devices (other site) or OPNsense against OPNsense? |
Can you just post the logs when adding the second P2 and the connection setup? Also the part in IPsec.conf? ipsec.log Here are the 2 Files, I have IPsec debug set to highest for all options. The Log starts when I enabled the phase 1 with both phase 2's already active. On line 46 (11:34:40) I disabled then applied the IPv6 phase 2, At that point both Phase 2's continue working and IPv4 AND IPv6 traffic is passed. And did you test against different devices (other site) or OPNsense against OPNsense? |
To everybody here, I opened #6022 and I figure it out it was related to Tunnel isolation option in phase 1 being disabled. When you enable, it'll create both interfaces. |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Dual stack Routed IPsec (VTI) has some issues, adding/enabling 2nd Phase 2 with IPv6 breaks IPv4 Phase 2, disabling IPv6 phase 2 allows both IPv4 and IPv6 to work.
To Reproduce
Steps to reproduce the behavior:
Create a Phase 1
Then create 2 phase 2s, one IPv4 and one IPv6
When both are enabled/connected upon startup only an IPv6 address and route is created for the IPsec tunnel.
Disabling the IPv6 phase two then allows a IPv4 address and route to be created in addition to leaving the IPv6 address and route, thus allowing both to work.
Expected behavior
Both an IPv6 and IPv4 address and route should be created and work without cycling the IPv6 Phase 2
Relevant log files
Interface and route outputs.
With IPv6 Phase 2 enabled/connected
`
With IPv6 Phase 2 disabled and only the IPv4 phase 2. Note the Ipv6 address still shows for some reason as well as the Ipv6 route,, but the IPv4 address and route shows up as well.
`
Additional context
Restarting the system with the IPv6 phase 2 disabled only allows Ipv4 to work until the IPv6 phase 2 is cycled on then off again, then both Ipv4 and IPv6 work.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 21.1.3_3-amd64
Win Server 2019 Hyper-V Temporarily during cutover/migration
AMD Ryzen 9 3950X, 8 cores assigned, 4GB of RAM.
The text was updated successfully, but these errors were encountered: