problem management IP=tunnel no set port

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
Dilitio
OpenVpn Newbie
Posts: 1
Joined: Fri Feb 01, 2019 4:11 pm

problem management IP=tunnel no set port

Post by Dilitio » Fri Feb 01, 2019 4:31 pm

Under windows 7 start openvpn.exe --config My.ovpn --management tunnel 2323 --verb 4

log startup :
Fri Feb 01 17:17:21 2019 us=82251 management_addr = 'tunnel'
Fri Feb 01 17:17:21 2019 us=82251 management_port = '2323'
Fri Feb 01 17:17:21 2019 us=82251 management_user_pass = '[UNDEF]'
Fri Feb 01 17:17:21 2019 us=82251 management_log_history_cache = 250
Fri Feb 01 17:17:21 2019 us=82251 management_echo_buffer_size = 100
Fri Feb 01 17:17:21 2019 us=82251 management_write_peer_info_file = '[UNDEF]'
Fri Feb 01 17:17:21 2019 us=83251 management_client_user = '[UNDEF]'
Fri Feb 01 17:17:21 2019 us=83251 management_client_group = '[UNDEF]'
Fri Feb 01 17:17:21 2019 us=83251 management_flags = 0
....
....

Fri Feb 01 17:21:59 2019 us=99152 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Fri Feb 01 17:21:59 2019 us=100152 C:\Windows\system32\route.exe ADD 172.16.1.0 MASK 255.255.255.0 172.16.1.1
Fri Feb 01 17:21:59 2019 us=109153 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4 Fri Feb 01 17:21:59 2019 us=117153 Route addition via IPAPI succeeded [adaptive]
Fri Feb 01 17:21:59 2019 us=118154 Initialization Sequence Completed
Fri Feb 01 17:21:59 2019 us=119154 MANAGEMENT: TCP Socket listening on [AF_INET]172.16.1.3:0

The parameter port is ignored and listing port is random

TCP 172.16.1.3:139 0.0.0.0:0 LISTENING
TCP 172.16.1.3:13868 0.0.0.0:0 LISTENING

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

Re: problem management IP=tunnel no set port

Post by TinCanTech » Sat Feb 02, 2019 3:49 pm


Post Reply