Skip to content

Add UDP support (fixes #29 and fixes #30).

micah requested to merge udp into main

Each protocol must have its own netblock pool to draw its client IPs from. So we change the openvpn_network variable to be per-protocol (openvpn_tcp_network and openvpn_udp_network), the same for ipv6.

Additionally, we need to also have the nameserver listen on the UDP IP.

This builds on the simplevpn.py change in the previous commit, which produces the eip-service.json with the udp ports, as well as changes in the openvpn container which launches a secondary openvpn process for UDP.

This was tested with openvpn directly, but also with a modified client.

Merge request reports