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
Management interface not working on tunnel device
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Tue Oct 06, 2015 7:44 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 7
- Joined: Tue Oct 06, 2015 7:44 am
Re: Management interface not working on tunnel device
Cool, thanks for quick reply. I searched already but the words management and interface are hard to filter.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm