Project

General

Profile

Bug #11869

OpenVPN client startup error if IPv6 Tunnel Network is defined in TAP mode

Added by Viktor Gurov about 2 months ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
Start date:
04/29/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
21.05
Release Notes:
Default
Affected Version:
2.5.1
Affected Architecture:

Description

If you define any "IPv6 Tunnel Network" in TAP mode,
an invalid 'ifconfig-ipv6' option is created in the config file:

ifconfig-ipv6 fc00:1111::2 64

must be:

ifconfig-ipv6 fc00:1111::2/64 fc00:1111::1

error:

Apr 29 13:35:14 pf41 openvpn[25432]: Options error: ifconfig-ipv6 parms 'fc00:1111::2' and '64' must be valid addresses
Apr 29 13:35:14 pf41 openvpn[25432]: Use --help for more information.

from https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4:

–ifconfig-ipv6 ipv6addr/bits ipv6remote
configure IPv6 address ipv6addr/bits on the “tun” device. 
The second parameter is used as route target for –route-ipv6 if no gateway is specified.

–route-ipv6 ipv6addr/bits [gateway] [metric]
setup IPv6 routing in the system to send the specified IPv6 network into OpenVPN’s “tun”. 
The gateway parameter is only used for IPv6 routes across “tap” devices, and if missing, the “ipv6remote” field from –ifconfig-ipv6is used.

Associated revisions

Revision f0a0bae5 (diff)
Added by Viktor Gurov about 1 month ago

OpenVPN TAP ifconfig-ipv6 syntax fix. Issue #11869

History

#2 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.6.0

#3 Updated by Jim Pingle about 1 month ago

  • Plus Target Version set to 21.05

#4 Updated by Steve Beaver about 1 month ago

  • Status changed from Pull Request Review to Feedback

#5 Updated by Jim Pingle 18 days ago

  • Target version changed from 2.6.0 to 2.5.2

#6 Updated by Danilo Zrenjanin 12 days ago

  • Status changed from Feedback to Resolved

Tested on the:

2.5.2-BETA (amd64)
built on Wed Jun 02 03:01:17 EDT 2021
FreeBSD 12.2-STABLE

It's OK now.

Ticket resolved.

Also available in: Atom PDF