and work fine but i noticed that initial connection it's a little slow...
in log on client i find...
so i think i waste 10 second for
Code: Select all
Sat Nov 09 09:54:13 2019 [server] Peer Connection Initiated with [AF_INET]126.96.36.199:1194 Sat Nov 09 09:54:14 2019 MANAGEMENT: >STATE:1573289654,GET_CONFIG,,,,,, Sat Nov 09 09:54:14 2019 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Sat Nov 09 09:54:19 2019 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Sat Nov 09 09:54:25 2019 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Sat Nov 09 09:54:25 2019 PUSH: Received control message: 'PUSH_REPLY,ping 20,ping-restart 60,topology subnet,route-gateway 10.158.38.236,ifconfig 10.158.38.235 255.255.255.0' Sat Nov 09 09:54:25 2019 OPTIONS IMPORT: timers and/or timeouts modified
SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
but i set route and other parameters in ovpn client config, i don't need to push directive from server.
can i disable or skip that directive ?
work all fine, but is to optimize all...
to create openvpn server i used this way
- create certificates
- create ip pool and dhcp for openvpn network
- create profile and openvpn server with cipher
- create secret for login
- open port on wan network
Thank you in advance