Management interface not working on tunnel device

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
thhart
OpenVpn Newbie
Posts: 4
Joined: Tue Oct 06, 2015 7:44 am

Management interface not working on tunnel device

Post by thhart » Tue Sep 24, 2019 10:55 am

I upgraded from 2.3.x to 2.4.x. Unfortunately the management is not reachable any more on the tunnel interface. Below is a comparison between tunnel and localhost. It looks like there is a problem with the port (see listening statement).

management tunnel 42000

Extract from log:

Tue Sep 24 12:49:57 2019 us=905518 management_addr = 'tunnel'
Tue Sep 24 12:49:57 2019 us=905523 management_port = '42000'
Tue Sep 24 12:49:57 2019 us=905529 management_user_pass = '/etc/openvpn/password'
Tue Sep 24 12:49:57 2019 us=905535 management_log_history_cache = 250
Tue Sep 24 12:49:57 2019 us=905540 management_echo_buffer_size = 100
Tue Sep 24 12:49:57 2019 us=905546 management_write_peer_info_file = '[UNDEF]'
Tue Sep 24 12:49:57 2019 us=905551 management_client_user = '[UNDEF]'
Tue Sep 24 12:49:57 2019 us=905557 management_client_group = '[UNDEF]'
Tue Sep 24 12:49:57 2019 us=905563 management_flags = 0
Tue Sep 24 12:49:57 2019 us=923353 MANAGEMENT: TCP Socket listening on [AF_INET]10.1.0.1:0

It is working with this:

management localhost 42000

Extract from log:

Tue Sep 24 12:52:18 2019 us=417126 management_addr = 'localhost'
Tue Sep 24 12:52:18 2019 us=417132 management_port = '42000'
Tue Sep 24 12:52:18 2019 us=417138 management_user_pass = '/etc/openvpn/password'
Tue Sep 24 12:52:18 2019 us=417143 management_log_history_cache = 250
Tue Sep 24 12:52:18 2019 us=417149 management_echo_buffer_size = 100
Tue Sep 24 12:52:18 2019 us=417155 management_write_peer_info_file = '[UNDEF]'
Tue Sep 24 12:52:18 2019 us=417161 management_client_user = '[UNDEF]'
Tue Sep 24 12:52:18 2019 us=417166 management_client_group = '[UNDEF]'
Tue Sep 24 12:52:18 2019 us=417172 management_flags = 0
Tue Sep 24 12:52:18 2019 us=418678 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:42000

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6167
Joined: Fri Jun 03, 2016 1:17 pm

Re: Management interface not working on tunnel device

Post by TinCanTech » Tue Sep 24, 2019 11:11 am


thhart
OpenVpn Newbie
Posts: 4
Joined: Tue Oct 06, 2015 7:44 am

Re: Management interface not working on tunnel device

Post by thhart » Tue Sep 24, 2019 11:27 am

Cool, thanks for quick reply. I searched already but the words management and interface are hard to filter. ;-)

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6167
Joined: Fri Jun 03, 2016 1:17 pm

Re: Management interface not working on tunnel device

Post by TinCanTech » Tue Sep 24, 2019 11:42 am

thhart wrote:
Tue Sep 24, 2019 11:27 am
I searched already but the words management and interface are hard to filter
That is exactly why google have a super computer track everything about you, so it can filter for you..

Some people don't like that and prefer the unfiltered version from duckduckgo :D

Post Reply