worked! thanks very much! 
------------------ Original ------------------
From: "Sachin Garg"<[email protected]>
Date: Wed, Jul 6, 2016 08:32 PM
To: "openvpn-users"<[email protected]>;
Subject: Re: [Openvpn-users] how to fix tun-ipv6 client address?


On Wednesday 06 July 2016 07:35 AM, ?????? wrote:
> i install a openvpn on a dual stack server, v4 client dial up to get an
> ipv6 address with tunnel.
> 
> i found v6 address which client got auto change during tunnel
> establishing. and also change after re-dial.
> 
> please help to tell how to give a static v6 address for special client.
> i looked up --help seem no option.

I have created static client files

In the server conf put:

> client-config-dir /etc/openvpn/staticclients

In the particular directory create a file for every client containing
the following:

> ifconfig-push <IPv4 address> <IPv4 netmask>
> ifconfig-ipv6-push <IPv6 address> <IPv6 gateway>

Can also provide dynamic addresses that persist across "re-dials" by
creating a file to "persist" the IP addresses (in the server config):

> ifconfig-pool-persist /var/log/openvpn/openvpn_pool.txt





------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to