s***@keemail.me
2017-03-03 13:04:00 UTC
Hi!
I'm working on a tool assessing my OpenVPN server and to speed up the process I'm trying to establish multiple OpenVPN connections between a single client and my OpenVPN server.
All established connections should share the configuration and client keys on the client.
Without any special adjustments or modification I get the following error (timestamps and IPs omitted/redacted):
   OpenVPN 2.4.0 [git:master/f5bf296bacce76a8+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 29 2016
   library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.08
   TCP/UDP: Preserving recently used remote address: [AF_INET] 127.0.0.2:443
   TCP/UDP: Socket bind failed on local address [AF_INET][undef]:443: Address already in use
   Exiting due to fatal error
The server configuration looks as follows for the moment:
    server 172.16.0.0 255.255.255.0
    port 443
    proto udp
    dev tun
    ca /etc/openvpn/server/ca.crt
    cert /etc/openvpn/server/server.crt
    key /etc/openvpn/server/server.key
    dh /etc/openvpn/server/dh4096.pem
    tls-crypt /etc/openvpn/server/tls-crypt.key
    tls-version-min 1.2
    tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
    cipher AES-256-CBC
    auth SHA512
    verb 3
    comp-lzo
    duplicate-cn
Is there any way to establish multiple connections from a single client to a single server?
Kind regards,
SaAtomic
I'm working on a tool assessing my OpenVPN server and to speed up the process I'm trying to establish multiple OpenVPN connections between a single client and my OpenVPN server.
All established connections should share the configuration and client keys on the client.
Without any special adjustments or modification I get the following error (timestamps and IPs omitted/redacted):
   OpenVPN 2.4.0 [git:master/f5bf296bacce76a8+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 29 2016
   library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.08
   TCP/UDP: Preserving recently used remote address: [AF_INET] 127.0.0.2:443
   TCP/UDP: Socket bind failed on local address [AF_INET][undef]:443: Address already in use
   Exiting due to fatal error
The server configuration looks as follows for the moment:
    server 172.16.0.0 255.255.255.0
    port 443
    proto udp
    dev tun
    ca /etc/openvpn/server/ca.crt
    cert /etc/openvpn/server/server.crt
    key /etc/openvpn/server/server.key
    dh /etc/openvpn/server/dh4096.pem
    tls-crypt /etc/openvpn/server/tls-crypt.key
    tls-version-min 1.2
    tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
    cipher AES-256-CBC
    auth SHA512
    verb 3
    comp-lzo
    duplicate-cn
Is there any way to establish multiple connections from a single client to a single server?
Kind regards,
SaAtomic