Project

General

Profile

Actions

Bug #11869

closed

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

Added by Viktor Gurov almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
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.

Actions #2

Updated by Jim Pingle almost 3 years ago

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

Updated by Jim Pingle almost 3 years ago

  • Plus Target Version set to 21.05
Actions #4

Updated by Anonymous almost 3 years ago

  • Status changed from Pull Request Review to Feedback
Actions #5

Updated by Jim Pingle almost 3 years ago

  • Target version changed from 2.6.0 to 2.5.2
Actions #6

Updated by Danilo Zrenjanin almost 3 years 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.

Actions #7

Updated by Renato Botelho almost 3 years ago

  • Assignee set to Viktor Gurov
Actions

Also available in: Atom PDF