---
title: 'OpenVPN 2.7 Multisocket howto'
url: 'https://willifix.net/blog/openvpn-2-7-multisocket-howto'
markdown: 'https://willifix.net/blog/openvpn-2-7-multisocket-howto.md'
date: '2026-02-22'
description: 'Last Week the OpenVPN Community has released Version 2.7 of OpenVPN https://github.com/OpenVPN/openvpn/releases/tag/v2.7.0 One big Improvment is Multisocket Support . it is now possible to Handle multiple addresses/ports/protocols within one server 🙂 Unfortunately, the documentation seems to have…'
---

# OpenVPN 2.7 Multisocket howto

## [OpenVPN 2.7 Multisocket howto](https://willifix.net/blog/openvpn-2-7-multisocket-howto)

    22nd Feb 2026  

Last Week the OpenVPN Community has released Version 2.7 of OpenVPN <https://github.com/OpenVPN/openvpn/releases/tag/v2.7.0> One big Improvment is Multisocket Support . it is now possible to Handle multiple addresses/ports/protocols within one server 🙂

Unfortunately, the documentation seems to have been forgotten. The documentation changes are currently being reviewed, so I was missing a component to configure it accordingly. <https://github.com/OpenVPN/openvpn/blob/master/doc/man-sections/server-options.rst>

Through trial and error, I figured out the necessary configuration changes.

here is a Example howto configure Multisocket VPN-Server:

```
#┌─────────────────────────────────────────────────────────────────────────────┐
#│ Config for imc-softclients last update 20.02.2026 by ♞ Raffael.Willems@imc  │
#└─────────────────────────────────────────────────────────────────────────────┘
#changed for multisocketsupport in 2.7
mode server
local 0.0.0.0 1200 udp
local 0.0.0.0 1200 tcp
dev tun1
```

With this configuration change and a subsequent restart of the server, the process(one PID) provides 2 endpoints (tcp/udp) on the same port 👌

![RWill_2026-02-20%2012-05-55](https://willifix.net/user/pages/03.blog/openvpn-2-7-multisocket-howto/RWill_2026-02-20%2012-05-55.png "RWill_2026-02-20%2012-05-55")

This is a big advantage for me, as some private Internet connections block UDP traffic. From now on, I can simply send the affected persons a configuration with `proto tcp` and the tunnel will work.

 [ Previous Post](https://willifix.net/blog/grav-spotiplay-plugin-first-try) [Next Post ](https://willifix.net/blog/update-docker-grav-from-version-1-to-2)

---

## Navigation

- Parent: [Blog](https://willifix.net/blog.md)
- Previous: [update docker-grav from version 1 to 2](https://willifix.net/blog/update-docker-grav-from-version-1-to-2.md)
- Next: [grav spotiplay plugin (Spotify currently listening)](https://willifix.net/blog/grav-spotiplay-plugin-first-try.md)
