Project

General

Profile

Actions

Bug #826

closed

Status > OpenVPN hangs when using TCP w/OpenVPN Int. "any"

Added by Chris Buechler over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
Start date:
08/16/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

When using TCP with OpenVPN, even where specifying 'local' to bind to a specific IP, the server binds itself to 127.0.0.1 as well. Then the Status > OpenVPN page hangs because the OpenVPN server is binding to the management port on 127.0.0.1. So the status page actually connects to the OpenVPN server rather than the management interface, which returns nothing to its queries.

Three issues here.
1) If the OpenVPN management interface does not respond, it should give up after several seconds, rather than completely hang up the web interface.
2) When using "any" with TCP, the management interface must use a different port than the one OpenVPN is using.
3) why is the server apparently binding to 127.0.0.1 where it shouldn't be (or is that not actually the issue)

Actions #1

Updated by Jim Pingle over 11 years ago

The binding seems to be correct, but the status connection wasn't being parsed properly.

The status command to the management daemon doesn't work correctly for static key servers, you get back this error:

ERROR: The 'status' command is not supported by the current daemon mode

Actions #2

Updated by Ermal Luçi over 11 years ago

  • Status changed from New to Feedback
Actions #3

Updated by Chris Buechler about 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF