Hi,

On Tue, 2014-05-13 at 02:15 +0300, Yevhen Kyriukha wrote:
> There is an issue when openvpn server restarts while client is been
> connected to it: client doesn't update its VPN IP address.
> 
> Steps to reproduce:
> 1) In openvpn server config add "ifconfig-pool-persist ipp.txt" option.

When a VPN program, such as openvpn, is started by connman-vpnd, all
possible options are either given on the command line or written to a
temporary config file supplied to the VPN program.

What config file in which location did you configure in 1) above?

> 2) Create ipp.txt file and define recommended IP for the client in a
> following way:
> myclient,10.10.10.23
> 3) Start VPN server.
> 3) Establish VPN connection on client (using connman and connman-vpn).
> 4) Stop VPN server.

Was 10.10.10.23 the default address the server would have assigned
anyway? How about using 10.10.10.44 already at this step to see if it is
a problem in any of the connects or just the reconnect in 6) ?

> 5) Change IP for client in ipp.txt file:
> myclient,10.10.10.44
> 6) Start VPN server.
> 7) Wait for VPN connection is established on client and check IP of vpn
> interface.
> 
> Expected results:
> Interface gets new IP 10.10.10.44.
> 
> Actual results:
> Interface using old IP 10.10.10.23.
> 
> This is a serious issue as user can't access VPN network without restarting
> VPN client.

Cheers,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to