Connection delay after openvpn server stop and start
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.6k
- Forks
- 3.4k
- PR merge metrics
- No merged PRs in 30d
Description
We are seeing connection delay of around 15 minutes between the server and the client when we stop the server and start it again. The server and client are both AIX machines. The openvpn used is 2.6.10 version. The client gets the IP immediately after the server starts, but the pings are working only after around 15 minutes.
Any inputs are really helpful.
server.conf
########
port 443
proto tcp
dev tap
ca /openvpn-keys/ca.crt
cert /openvpn-keys/server.crt
dh /openvpn-keys/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
cipher AES-256-CBC
status openvpn-status.log
verb 3
explicit-exit-notify 1
########
client.conf
########
client
dev tap
proto tcp
remote X.X.X.X 443
resolv-retry infinite
nobind
ca /openvpn-keys/ca.crt
cert /openvpn-keys/client1.crt
key /openvpn-keys/client1.key
remote-cert-tls server
tls-auth /openvpn-keys/ta.key 1
cipher AES-256-CBC
verb 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the restart sequence on AIX with the supplied server.conf and client.conf using OpenVPN 2.6.10. Check the client and server logs around reconnection, IP assignment, and the delayed ping response. Done means identifying the cause of the 15-minute delay and documenting or fixing it with a verified restart test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100