Viscosity. OpenVPN client. For Mac.  
 
 

OpenVPN 2.3 & IPv6 support

Got a problem with Viscosity or need help? Ask here!

OpenVPN 2.3 & IPv6 support

Postby MacFreek » Fri Feb 17, 2012 4:32 am

Hi,

I'm currently using a custom-compiled openvpn with Viscosity. IPv6 (using a tun device!) works like a charm, I only had to add "tun-ipv6" in the settings (and of course configure the server appropriately).

Given that OpenVPN 2.3 alpha 1 will shortly be released (Samuli Seppänen is hoping this or next week):
What is the status for IPv6 support in Viscosity?
MacFreek
 
Posts: 2
Joined: Sat Feb 11, 2012 4:13 am

Re: OpenVPN 2.3 & IPv6 support

Postby James » Sat Feb 18, 2012 1:09 am

Hi MacFreek,

We've been working hard to modify Viscosity's underlying code to better support IPv6. We expect to have a beta release shortly after an alpha version of OpenVPN 2.3 is made available that supports IPv6 over a routed (tun) connection, along with associated support.

Cheers,
James
User avatar
James
 
Posts: 947
Joined: Thu Sep 04, 2008 10:27 pm

Re: OpenVPN 2.3 & IPv6 support

Postby MacFreek » Thu Feb 23, 2012 10:46 am

James wrote:We expect to have a beta release shortly after an alpha version of OpenVPN 2.3 is made available that supports IPv6 over a routed (tun) connection, along with associated support.


The good news: Openvpn-2.3-alpha1 is out.

Code: Select all
wget http://build.openvpn.net/downloads/releases/openvpn-2.3-alpha1.tar.gz
tar xzvf openvpn-2.3-alpha1.tar.gz
cd openvpn-2.3-alpha1
./configure --with-lzo-headers=/opt/local/include --with-lzo-lib=/opt/local/lib
make
make check

It compiles!

Code: Select all
cd ~/Library/Application\ Support/Viscosity/OpenVPN/2
sudo ~/openvpn-2.3-alpha1/openvpn --config config.conf
...
Thu Feb 23 00:36:43 2012 TUN/TAP device /dev/tun0 opened
Thu Feb 23 00:36:43 2012 do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=1
Thu Feb 23 00:36:43 2012 /sbin/ifconfig tun0 inet6 2001:610:767:1975::4/64
Thu Feb 23 00:36:43 2012 add_route_ipv6(2001:610:767:fd::/64 -> 2001:610:767:1975::1 metric 0) dev tun0

% route get -inet6 2001:610:767:fd::70
   route to: kwek.macfreek.nl
destination: 2001:610:767:fd::
       mask: ffff:ffff:ffff:ffff::
  interface: tun0

% ping6 2001:610:767:fd::70
PING6(56=40+8+8 bytes) 2001:610:767:1975::4 --> 2001:610:767:fd::70
16 bytes from 2001:610:767:fd::70, icmp_seq=0 hlim=63 time=7.678 ms
16 bytes from 2001:610:767:fd::70, icmp_seq=1 hlim=63 time=5.728 ms
16 bytes from 2001:610:767:fd::70, icmp_seq=2 hlim=63 time=4.167 ms
--- 2001:610:767:fd::70 ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss


It runs!
MacFreek
 
Posts: 2
Joined: Sat Feb 11, 2012 4:13 am

Re: OpenVPN 2.3 & IPv6 support

Postby James » Thu Apr 19, 2012 10:51 pm

Just a heads up that the latest beta version for 1.4 now contains full IPv6 support. It still needs a lot of testing, so if you run into any issues feedback is appreciated!

The latest beta version can be downloaded from:
viewtopic.php?p=134#p134

Cheers,
James
User avatar
James
 
Posts: 947
Joined: Thu Sep 04, 2008 10:27 pm


Return to Viscosity Support (Mac Version)

Who is online

Users browsing this forum: Google [Bot] and 2 guests



 
 
 
 
Navigate

Home
Applications
Blog
About
Support
  Support

Support Home
Documentation
Knowledge Base
Forum
  Community

Blog
Forum
Twitter
Viscosity
Viscosity Server


 
 
SparkLabs Copyright © SparkLabs. All Rights Reserved.