Hi all,
I'm trying to setup a openvpn connection with both ipv4 and ipv6 addresses. All works well but I need to execute a script to add an ipv6 neighbour proxy for the connected ip and I noticed that the env variable $ifconfig_ipv6_remote is just useless as it returnes an address that doesn't match the pooled ip for the client.
here is part of the logfile (with the env printed in)
Mon Sep 2 18:22:46 2013 ***:53909 MULTI_sva: pool returned IPv4=10.100.150.2, IPv6=***:10:100:150:1000
...
ifconfig_ipv6_remote=***:10:100:150:2
i'm just struggling with this and I don't know how to solve!
Any info is appreciated
Stefano
I forgot to say that the (relevant part of the) configuration regarding ipv6 is just
tun-ipv6
server-ipv6 ***:10:100:150::/112
The openvpn --version command shows:
OpenVPN 2.3.2 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Aug 31 2013
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
Compile time defines: enable_crypto=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_eurephia=yes enable_fast_install=needless enable_fragment=yes enable_http_proxy=yes enable_iproute2=no enable_libtool_lock=yes enable_lzo=yes enable_lzo_stub=no enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_password_save=no enable_pedantic=no enable_pf=yes enable_pkcs11=no enable_plugin_auth_pam=yes enable_plugin_down_root=no enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_socks=yes enable_ssl=yes enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_win32_dll=yes enable_x509_alt_username=no with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_plugindir=//usr/lib/openvpn with_sysroot=no
...and obviously the *** in the ipv6 address stands for "hidden".