[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] client seeking server...



James Yonan wrote:

No, the behaviour makes sense -- if you use --persist-remote-ip you are
telling OpenVPN to reuse its current remote IP on restart.

Except in this case, there is no current remote ip, because the client hasn't managed to connect yet.


In this context, the current remote IP is the most recent address which
was tried, not the last address which succeeded.

James

I'm probably missing something obvious here, but what situation does this behaviour benefit? Effectively, --persist-remote-ip disables all but the first --remote parameter. Is this the most useful behaviour?


I guess what I'm asking is: is the current behaviour the intended result, or more the side-effect of combining two otherwise unrelated options?

If the former, then my solution would be the creation of a new option that causes the client to retry the most recent connection on disconnect before continuing, or restarting, the search.

If the latter, then my solution would be the modification of the behaviour when these options are combined.

At this stage, I'm not asking or demanding that anyone actually do this work. I am happy to look at the code to see if I can do this myself. However, it would be best if I knew the most useful avenue to investigate before I start.

Thanks again for your input.

Cheers!
Nik.


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-02/msg00081.html on line 203

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-02/msg00081.html on line 203